- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to know How many users are working on the syst...
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
02-22-2005 09:20 AM
02-22-2005 09:20 AM
I wanted to know , how a system administrator can comes to know how many oracle or SAP or users are logged and working/using the system.
Is there any way to find out that.
Thanks in Advance.
RVeri.
-------
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2005 09:27 AM
02-22-2005 09:27 AM
SolutionYou should be able to make criteria based on machine locations - users names, etc. from
"select * from v$session" pretty easily. If however, you've got a middle tier which is going to "re-handle" the logins for you - well it would be best to visit the SAP support site for the query to give that answer. You should probably do both as a matter of course anyways.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2005 09:41 AM
02-22-2005 09:41 AM
Re: How to know How many users are working on the system?
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2005 09:45 AM
02-22-2005 09:45 AM
Re: How to know How many users are working on the system?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2005 01:05 AM
02-24-2005 01:05 AM
Re: How to know How many users are working on the system?
Try this
last | grep still | wc -l
/Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2005 01:17 AM
02-24-2005 01:17 AM
Re: How to know How many users are working on the system?
;-)
regards,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2005 01:34 AM
02-24-2005 01:34 AM
Re: How to know How many users are working on the system?
the command
ps -ef |awk -F' ' '{print $1}' | grep -v UID | sort -u
will list all the userids of processes running.
If you want to know how many oracle owned processes are running for example:
ps -ef | grep oracle | grep -v grep | wc -l
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2005 02:50 AM
02-24-2005 02:50 AM
Re: How to know How many users are working on the system?
select *
FROM v$session s
WHERE (s.username IS NOT NULL)
AND (NVL (s.osuser, 'x') <> 'SYSTEM')
AND (s.TYPE <> 'BACKGROUND');
Then you can work from the resulting set of data - watching in particular the columns for
username, osuser, machine, module, program, process, action ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2005 04:41 AM
02-24-2005 04:41 AM
Re: How to know How many users are working on the system?
netstat -a |grep -i established
Will give you number of established sessions.
Thanks,
BL