|
Opening a file in WINDOWS/system32/LogFiles with
using (StreamReader r = new StreamReader(fileName))
generates exception "because the file is in use by another process". How can I figure out what the other process is? Could it be the server updating the...
Started by Nona Urbiz on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
You could....
Jacob
Personally, I prefer ProcessExplorer with its "Find Handle" functionality .
This is disturbingly old school, but I love this really bad utility called: wholockme http://www.dr-hoiby.com/WhoLockMe/
It lets you know who has files locked .
|
|
From the documentation, I would expect adModeShareDenyWrite to be the way, but it's not working right.
I'm using an Access database via ADO. My connection string says Mode=8, which is adModeShareDenyWrite. But when I try to delete a row from a table, ...
Started by Corey Trager on
, 6 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
When you use adModeShareDenyWrite in....
They can change whatever they want from a client interface, whatever it is, and others can also connect to the same file at the same time.
One solution is to give them access to a copy of the database .
|
|
Hi,
How can I write a program that can recover files in FAT32.
Please give me a suggestion!
Answer Snippets (Read the full thread at stackoverflow):
You can make a copy of the partition, ignoring.
This guy is great.) that might help you out.
Search should give you a plethora of software that can try to recover the data, but it's not 100 Tempelman.
|
Ask your Facebook Friends
|
How can I know what exceptions might be thrown from a method call?
Started by noname on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Any method can throw any you can but it could involve....
It will list all the checked exceptions which can be thrown from that method.
There is no 100% reliable way to know what RuntimeException or Error types can).
The exception.
|
|
How can I find out how many rows a MySQL query returns in Java?
Started by Midday on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
If you use a CachedRowSet you can know how many rows your statement are using a scrollable....
If the result is not scrollable, you can either count the rows by iterating, and counted them afterwards.
Out how many rows rs has.
|
|
I am running Apache Tomcat on a Windows 2003 Server and I have data stored in a mySQL database.
How can I prevent that a server admin can see any data?
Started by CL23 on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at serverfault):
That'....
You can deny of that machine.
Confidentiality, but no auditing mechanism can tell you how many or few copies of the confidential" is congruous with how the code, and reality, operates it's really pretty meaningless.
|
|
I know that not all usb sticks are the same. Some can be booted from, some cant.
How can I identify which ones are able to do this? (without trying each one)
Started by Uberfuzzy on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at superuser):
This can help the bootability of the USB (I think that Google can answer all questions about a specific....
I think it is not so much a USB not being bootable but if the MB can recognize it and boot to make it look like an actual disk drive.
|
|
During execution, how can a java program tell how much memory it is using?
I don't care how efficient it is!
Started by Ron Tuffin on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
VonC's answer is an interactive solution - if you want to know programatically, you can use out how much of that....
If you are have a java1.6 somewhere and your program is running in java 1.4.2, 1.5 or 1.6, you can on in the execution.
|
|
How can I determine how much memory a process is using in AIX?
Started by C. Ross on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
You can also try nmon.
Have you tried topas ? It's pretty good for that sort of thing .
|
|
As per the title:
How can I tell how much RAM is installed on a FreeBSD server?
Thanks!
Started by Ben on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at serverfault):
Here is an article on different ways of getting this, including a FreeBSD replacement... .
Take a look at http://www.cyberciti.biz/faq/freebsd-command-to-get-ram-information/
I use the free -m command on Linux .
A quick and dirty way is to run the "top" utility .
|