UGU: Unix Guru Universe - Unix Tip #4359- February 16, 2018
- Home : Help
: Today's Tip
Unix Tip #4359- February 16, 2018
IDENTIFY A PROCESSES
The command fuser is very
handy when you want to know
which processes or users
have a file open. Its basic
/etc/fuser -u /usr/my_application/foo
You must enter the file's full
path name, as shown above.
The fuser command is located
under the /etc directory on HP-UX,
AIX and SCO flavors. You must
login as root to use it.
Its output is a raw list of
processes id numbers and users login
Please refer to your Unix man pages
to find more about this useful command.
This tip generously supported by: email@example.com
NOTE: All tips provided are USE AT YOUR OWN RISK. Tips are submitted
by various unix admins around the globe. UGU suggest you read and
test each tip in a non-volitile environment before placing into
LAST 5 TIPS
- LOOK FOR A STRING
- STOP ASKING QUESTIONS
- DIR ALIAS REPRISE
- ANOTHER DOS ^M Solution FOR SCO
- DEALING WITH TOO MANY FILES
I want to
and get a UGU Tip everyday.
I want to
and NOT get a UGU Tip everyday.
If you have a UNIX TIP let us know, we just may use it:
(All tips become the property of the Unix Guru Universe)
Copyright 1994-2018 Unix Guru Universe