- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Process Uptime
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
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
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
тАО07-17-2008 12:11 AM
тАО07-17-2008 12:11 AM
is there a way to check the process uptime?
With "Show System" command I'll see only CPU time, but not the up time of the single process.
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2008 12:39 AM
тАО07-17-2008 12:39 AM
Solution$ WRITE SYS$OUTPUT F$GETJPI("
will show you the process creation time. You can easily calcuate the uptime with F$DELTA_TIME, if you're running on a recent version of OpenVMS.
$ write sys$output f$delta_time(f$getjpi("","LOGINTIM"),F$CVTIME(,"ABSOLUTE"))
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2008 12:51 AM
тАО07-17-2008 12:51 AM
Re: Process Uptime
volker, you are the man! :)
SHOW PROC/ACC/ID=20230756 works fine!
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2008 10:44 AM
тАО07-17-2008 10:44 AM
Re: Process Uptime
$! with appropriate privs
$ analyze/system
SDA> set process/id=
SDA> examine/time ctl$gq_istart
There are also CTL$Gx_I* cells that have snapshot values of the CPU time, DirIO, BufIO, etc. at the time the image started. When the image accounting record is written, the delta values are what is written. In other words, CTL$GL_ICPUTIM contains the process CPU time when the image was activated; it doesn't get updated by the HWCLK interrupt. I am not sure about the workingset peak CTL$GL_IWSPEAK, as it isn't obvious to me how a snapshot at image activation time would be meaningful to the image, but the working set size changes much less frequently than the CPU time, so I would guess that both process and image peaks are maintained when the workingset is increased.
These are some of the image accounting related cells in the process control region.
CTL$GQ_ISTART
CTL$GL_IBIOCNT
CTL$GL_ICPUTIM
CTL$GL_IDIOCNT
CTL$GL_IFAULTIO
CTL$GL_IFAULTS
CTL$GL_IPAGEFL
CTL$GL_IVOLUMES
CTL$GL_IWSPEAK
I wish these cell were updated regardless of whether image accounting was enabled, and that there was $GETJPI access to them.
Jon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2008 01:41 PM
тАО07-17-2008 01:41 PM
Re: Process Uptime
$ SSYS/INTERACTIVE
list of processes found on node AX99 at 17-JUL-2008 21:37:19
pid process state login time %cpu pflt/sec bio/sec dio/sec
78A8916A GOODMAN CUR 2 I 7 06:27:14 0.02 0.126 0.237 0.210
78AE25BD _TNA135: LEF I 0 09:17:46 0.02 0.207 0.205 0.078
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2008 12:30 AM
тАО07-18-2008 12:30 AM
Re: Process Uptime
Jess, thanks for your utility.
But i got some problem to use it.
%DCL-W-ACTIMAGE, error activating image SYS$LOGIN:SSYS.EXE
-CLI-E-IMGNAME, image file DSA0:[SMSC]ssys.exe;1
-IMGACT-F-NOT_I64, image is not an HP OpenVMS Industry Standard 64 image
I'm running OpenVMS V8.3-1H1 on HP rx2660 (1.59GHz/6.0MB)
May I recompile it?? However I don't know how! :(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2008 12:40 AM
тАО07-18-2008 12:40 AM
Re: Process Uptime
It would appear that you are trying to run it on an itanium platform.
The zip files contains the source files, but you will need a FORTRAN compiler if you want to recompile the program for itanium.
Duncan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2008 01:29 AM
тАО07-18-2008 01:29 AM
Re: Process Uptime
You are right Duncan, I execute it on wrong machine!!! ^_^
On Alpha server works fine....
Ok I'll use SHOW PROC/ACC/ID= command on itanium and ssys on alpha!
Thanks to all!