![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| fuser | adrianlearnpro | UNIX for Dummies Questions & Answers | 8 | 03-11-2009 12:05 PM |
| help needed in fuser command | anju | Shell Programming and Scripting | 1 | 02-20-2008 02:08 AM |
| fuser ?? Look at the script !! | varungupta | UNIX for Advanced & Expert Users | 0 | 08-31-2007 07:27 AM |
| make fuser send SIGTERM? | adamides | HP-UX | 4 | 03-08-2007 10:57 AM |
| fuser brought down the box | bandaru | AIX | 5 | 08-03-2005 09:39 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Help with fuser
fuser is used to check whether a file is in use by a process or not.
I was putting some information in a file via a background process and was doing a cat to see the contents. It gave me the pid of background process followed by stop. Understood only half, stopped because it was writing on it and therefore i won't be able to cat. But what does stop mean and how can i resume it. Further fuser showed me that process was writing in the file by the suffix "o", but on running it a few times i got the same result. My background process stopped. I wanted to check via fuser whether that file is being used in a script and then do some processing from it. Please help |
|
||||
|
Oops,
You totally misunderstood me, what you are talking about is perfeclty ok. But when i do a Cat, the background process which was writing to that file stopped. ( I found out this by doing a ps -ef | grep name_of_bak_ground ) It showed stopped, whats this stopped and it never resumed. I thought to do a fuser, so when the process is not writing then i should Cat the file, but on using fuser the same thing happened. My backgournd process stopped again. Why? I can;t do a tail because i need the whole file, so what should i do now. |
|
|||||
|
Quote:
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|