- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how can i find all user using a hp-ux command
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
10-20-2003 03:16 PM
10-20-2003 03:16 PM
how can i find all user using a hp-ux command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2003 03:24 PM
10-20-2003 03:24 PM
Re: how can i find all user using a hp-ux command
ps -ef|grep "command"
Check first column.
OR you can use lsof tool. (Download it from hp-ux porting centre.)
lsof -c "command_name"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2003 03:30 PM
10-20-2003 03:30 PM
Re: how can i find all user using a hp-ux command
#logins|awk '{print $1}'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2003 03:40 PM
10-20-2003 03:40 PM
Re: how can i find all user using a hp-ux command
who -u
finger.
Users on system?
logins,
cut -f1 -d ":" /etc/passwd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2003 07:09 PM
10-20-2003 07:09 PM
Re: how can i find all user using a hp-ux command
"who -R" does something similar.
"logins" does something similar but you need to be root.
"last -R" gives history of recent logins and where from.
All possible users are listed in the /etc/passwd file and can be viewed with the "listusers" command.
For more on any of the above, see the man pages.
-- Graham
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2003 07:26 PM
10-20-2003 07:26 PM
Re: how can i find all user using a hp-ux command
I'm not sure what you are looking for but, in addition to good previous replies ...
"whodo" - which users are doing what
man whodo for more details.
HTH
Kind regards,
Zigor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2003 07:35 PM
10-20-2003 07:35 PM
Re: how can i find all user using a hp-ux command
For convinient view:
#who -q
If you want to now users IP-adresses:
#who -T
If you need ather options:
#man who
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2003 07:53 PM
10-20-2003 07:53 PM
Re: how can i find all user using a hp-ux command
On HP-UX use:
whodo
All user and what they are running.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2003 05:14 PM
10-22-2003 05:14 PM
Re: how can i find all user using a hp-ux command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2003 07:34 PM
10-22-2003 07:34 PM
Re: how can i find all user using a hp-ux command
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x022718276953d61190040090279cd0f9,00.html
-- Graham
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2003 06:48 PM
10-25-2003 06:48 PM
Re: how can i find all user using a hp-ux command
if you want to list the current login users, then the commands above will do it for you:
logins
last -R
who -u
finger (note that this command might not work, check the /etc/inetd.conf file. If it has # mark at the beginning of the line, then edit the file using unix editor, e.g) vi /etc/inetd.conf then remove the # mark)sometimes it's not secure to do so!
Khalid Al-Tayaran,
Would you mind to drop me an email, I need your assistance! or you can post your email if you want.
Thanks
latif_IT2000@yahoo.com