Top shows the uptime of the operating system.  I don't think it shows
the uptime of any particular process.  There is a time column, but I
always thought that was simply the amount of CPU time the process had
used since it had been running.

~Brad

-----Original Message-----
From: Munson, Jacob [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 19, 2006 3:53 PM
To: CF-Talk
Subject: RE: How long have my CF services been running?

I don't have access to Linux at the moment, but does TOP show uptime?
If so, it does have an option to output to a file instead of screen, if
you wanted to use it in a cfm page or something.  I /think/ you can also
send it parameters to only get the values you want, but not sure.  You
might also try PS, which IIRC gives you info/control over the running
processes.  You might have to get fancy and use PS piped to GREP and/or
SPLIT to get cfusion's PID, and from that use TOP to get the uptime.  I
wish I had a linux shell handy...

> -----Original Message-----
> From: Brad Wood [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, July 19, 2006 1:24 PM
> 
> I suppose that will work.  I was more hoping for a command I could run
> in BASH to return the CF uptime, or maybe a java object I could create
> in CFML to output that on a web page.
> 
> -----Original Message-----
> From: Jacob [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, July 19, 2006 1:58 PM
> 
> server.log???
> 
> -----Original Message-----
> From: Brad Wood [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, July 19, 2006 11:32 AM
> 
> Can I tell how long my CFMX7 service has been running on Linux?  All I
> have access to is BASH.

This transmission may contain information that is privileged,
confidential and/or exempt from disclosure under applicable law. If you
are not the intended recipient, you are hereby notified that any
disclosure, copying, distribution, or use of the information contained
herein (including any reliance thereon) is STRICTLY PROHIBITED. If you
received this transmission in error, please immediately contact the
sender and destroy the material in its entirety, whether in electronic
or hard copy format. Thank you. A1.





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:247106
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to