- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Report users application wise.
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
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
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
тАО03-01-2002 08:02 AM
тАО03-01-2002 08:02 AM
Regards
Brian.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2002 08:52 AM
тАО03-01-2002 08:52 AM
Re: Report users application wise.
I suggest using glance/measureware and perfview. The product is a couple grand, but well worth the investment. If you already have it then create an application group and monitor and collect their activity.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2002 09:26 AM
тАО03-01-2002 09:26 AM
Re: Report users application wise.
Can we do it with a script?
Thanks
Brian.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2002 09:52 AM
тАО03-01-2002 09:52 AM
Re: Report users application wise.
You can use awk to strip out the userid's and maybe the display it is comming from to an output file. You can run the ps command every 30 min to a hour. Then after it has been ran for a couple days you can do some kind of sort -u or grep user | unique on the data you collected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2002 09:55 AM
тАО03-01-2002 09:55 AM
SolutionFrom what I gather, all you want to report on, is who is running a certain application, correct? If that's the case, then yes you can script it. You will have to have this script running ALL of the time, otherwise you will lose data (users that start up and finish an application before the process gathering starts). You could "front" end every application with a application script wrapper that collects the data:
#!/usr/bin/ksh
#
BEGSTR=`date`:
BEGSTR=$BEGSTR:`who am i`:"Start APPLICATIONNAMEHERE"
echo $BEGSTR >>/LOGFILEPATH
/application path
echo $BEGPATH:"exited at":`date` >>/LOGFILEPATH
exit
The reason I put the first string "BEGSTR" into the logfile, is so you can find out if a user has started an application but has not ended it or for some reason the process did not return to the lines after the application startup. I used "semi-colon's" to "delimit" the fields, to make sorting easier.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2002 11:03 AM
тАО03-01-2002 11:03 AM
Re: Report users application wise.
Do you mean this should be a wrapper to each application?
Thanks
Brian.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2002 11:12 AM
тАО03-01-2002 11:12 AM
Re: Report users application wise.
With only 7 applications that you want monitored, that solution might just be easier than trying to do "ps -ef's" and sorting it, parsing it, putting it into some usable format,blah,blah,blah...
Just remember, that if the users "pass" options to the application, then your application wrapper must pass those options on to the actual application.
live free or die
harry