[olug] Unix Tip: IDENTIFY A PROCESSES
Unix Guru Universe
listserv at ugu.com
Wed Mar 26 19:23:38 UTC 2003
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
UNIX GURU UNIVERSE
UNIX HOT TIP
Unix Tip 1911 - March 26, 2003
http://www.ugu.com/sui/ugu/show?tip.today
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
IDENTIFY A PROCESSES
The command fuser is very
handy when you want to know
which processes or users
have a file open. Its basic
syntax is:
/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
names.
Please refer to your Unix man pages
to find more about this useful command.
This tip generously supported by: tinaco110 at hotmail.com
--------------------------------------------------------------------------
To Subscribe: http://www.ugu.com/sui/ugu/show?tip.subscribe
To Unsubscribe: http://www.ugu.com/sui/ugu/show?tip.unsubscribe
To Submit A Tip: http://www.ugu.com/sui/ugu/show?tip.today
==========================================================================
DISCLAIMER: All UNIX HOT TIPS ARE OWNED BY THE UNIX GURU UNIVERSE AND ARE
NOT TO BE SOLD, PRINTED OR USED WITHOUT THE WRITTEN CONSENT OF THE UNIX
GURU UNIVERSE. ALL TIPS ARE "USE AT YOUR OWN RISK". UGU ADVISES THAT
ALL TIPS BE TESTED IN A NON-PRODUCTION DEVELOPMENT ENVIRONMENT FIRST.
Unix Guru Universe - www.ugu.com - tips at ugu.com - Copyright 1994-2001
==========================================================================
More information about the OLUG
mailing list