- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to find what my users are executing ?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2002 07:24 PM
06-12-2002 07:24 PM
How to find what my users are executing ?
My requirement is I want to check what my users are executing. Users can have any shell.
Is there any way to collect them in a file which can not be edited by any user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2002 07:39 PM
06-12-2002 07:39 PM
Re: How to find what my users are executing ?
try using
# w -w
see the man page of w for more detial.
-Niraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2002 07:42 PM
06-12-2002 07:42 PM
Re: How to find what my users are executing ?
also check acctcms.
I am not sure about it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2002 07:48 PM
06-12-2002 07:48 PM
Re: How to find what my users are executing ?
You need to set up system accounting. This link gives a very good description.
http://data.fas.harvard.edu/micah_altman/unix/sysacct.pdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2002 12:37 AM
06-13-2002 12:37 AM
Re: How to find what my users are executing ?
Michael is correct if you want to really follow it.
For a snapshot. 2 UNIX95 lines
UNIX95= ps -e -o pcpu,state,ruser,vsz,pid,ppid,args |head -n 1
UNIX95= ps -e -o pcpu,state,ruser,vsz,pid,ppid,args|tail -n +2 |sort -rnk2
Steve steel