At 07.08.2001 03:51, Craig Westerman wrote:
> >I'm wanting to chart the server load average data displayed when you run
>The correct way to do that would be to read it straight from the source,
>(eg. /proc/loadav for linux with procfs).
>
>That would be much quicker, and it would also save your se
>I'm wanting to chart the server load average data displayed when you run
The correct way to do that would be to read it straight from the source,
(eg. /proc/loadav for linux with procfs).
That would be much quicker, and it would also save your server a fork
for each reading (unless you are runni
At 07.08.2001 03:19, Craig Westerman wrote:
> >>Does anyone here have a script to run uptime every ten minutes or so, log
> >>output, then display daily output in a nice friendly chart?
>
> >Seems a bit daft running it every ten minutes, as a server should be up
>24/7,
> >how do you plan to check
>>Does anyone here have a script to run uptime every ten minutes or so, log
>>output, then display daily output in a nice friendly chart?
>Seems a bit daft running it every ten minutes, as a server should be up
24/7,
>how do you plan to check it otherwise?
I'm wanting to chart the server load a
- Original Message -
From: "Andreas D. Landmark" <[EMAIL PROTECTED]>
To: "PHP-General" <[EMAIL PROTECTED]>
Sent: Tuesday, August 07, 2001 1:52 AM
Subject: Re: [PHP] Uptime script
> At 06.08.2001 23:15, Craig Westerman wrote:
> >Does anyone here
At 06.08.2001 23:15, Craig Westerman wrote:
>Does anyone here have a script to run uptime every ten minutes or so, log
>output, then display daily output in a nice friendly chart?
Seems a bit daft running it every ten minutes, as a server should be up 24/7,
how do you plan to check it otherwise?
Nope, but I do something similar with weather data from my home weather
station.:) The jpgraph library (http://freshmeat.net/projects/jpgraph/)
is excellent and makes that kind of stuff a snap.
A sample graph is attached.
- Tim
http://www.phptemplates.org
On 06 Aug 2001 17:15:53 -0500, Craig
On Wed, May 16, 2001 at 06:35:32PM -0700, Ryan Christensen wrote:
> Take a machine down, knowing it's uptime? (I.e., it's easier to hack a box
> that's been up for 5 months.. as opposed to one that hasn't been??)
By knowing the uptime and the version of the OS (e.g. kernel-version)
you know to
"Christopher Heschong" <[EMAIL PROTECTED]> wrote:
> If you want to get the current uptime in Linux without a system() call,
> you should be able to fopen() the /proc/uptime file. The first number
> is the number of seconds the machine has been up, the second is the
> number of seconds the machine
> also sprach Ron Pitts (on Wed, 16 May 2001 10:18:06PM -0400):
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > This does not work. This list is like the mafia: Once in, never out.
> > That sucks. The list managers are morons.
>
> will you chill please? of course it works. you are at f
also sprach Ron Pitts (on Wed, 16 May 2001 10:18:06PM -0400):
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> This does not work. This list is like the mafia: Once in, never out.
> That sucks. The list managers are morons.
will you chill please? of course it works. you are at fault. do you
want
On Wednesday, May 16, 2001, at 09:47 PM, Ryan Christensen wrote:
> No.. as I said in my original post, this is on Linux.. so I was actually
> wondering how it would be a risk in Linux.. not win..
If you want to get the current uptime in Linux without a system() call,
you should be able to fope
At 03:30 PM 5/16/01 -0500, Ben Gollmer wrote:
>Uptime.exe is available on the WinNT / Win2k resource kit. You can also
>download it here:
>
>http://www.microsoft.com/ntserver/nts/downloads/management/uptime/default.
>asp
Does the windows version have the ability to count larger than hours? :)
-
At 08:18 PM 5/16/01 +0200, Christian Reiniger wrote:
>On Wednesday 16 May 2001 15:16, Matthew Schroebel wrote:
> > Why would you want to advertise that? Seems like you would be leaking
> > information to crackers ...
>
>It's very difficult to imagine how 'uptime' information could be used to
>cau
also sprach Ryan Christensen (on Wed, 16 May 2001 06:47:08PM -0700):
> No.. as I said in my original post, this is on Linux.. so I was actually
> wondering how it would be a risk in Linux.. not win..
sorry, i haven't really followed the thread.
well, *iff* your system is properly configured *and*
AIL PROTECTED]>
To: Ryan Christensen <[EMAIL PROTECTED]>
Cc: Matthew Schroebel <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, May 16, 2001 6:45 PM
Subject: Re: [PHP] Uptime script?
> also sprach Ryan Christensen (on Wed, 16 May 2001 06:35:32PM -0700):
> >
also sprach Ryan Christensen (on Wed, 16 May 2001 06:35:32PM -0700):
> Take a machine down, knowing it's uptime? (I.e., it's easier to
> hack a box that's been up for 5 months.. as opposed to one that
> hasn't been??)
um, why?
please don't answer if you use windoze for then the answer is obvious
I wouldn't be asking.. :)
Ryan Christensen
- Original Message -
From: Matthew Schroebel <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, May 16, 2001 5:32 PM
Subject: Re: [PHP] Uptime script?
> If you were trying to take
If you were trying to take a machine down, it might be useful to know it.
Plus it's easily faked.
> It's very difficult to imagine how 'uptime' information could be used to
> cause mischief...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addi
rom: Christian Reiniger [mailto:[EMAIL PROTECTED]]
>> Sent: Wednesday, May 16, 2001 11:19 AM
>> To: Matthew Schroebel; [EMAIL PROTECTED]
>> Subject: Re: [PHP] Uptime script?
>>
>>
>> On Wednesday 16 May 2001 15:16, Matthew Schroebel wrote:
>>> Why wo
L PROTECTED]]
> Sent: Wednesday, May 16, 2001 11:19 AM
> To: Matthew Schroebel; [EMAIL PROTECTED]
> Subject: Re: [PHP] Uptime script?
>
>
> On Wednesday 16 May 2001 15:16, Matthew Schroebel wrote:
> > Why would you want to advertise that? Seems like you would be l
On Wednesday 16 May 2001 15:16, Matthew Schroebel wrote:
> Why would you want to advertise that? Seems like you would be leaking
> information to crackers ...
It's very difficult to imagine how 'uptime' information could be used to
cause mischief...
chris@server:~$ uptime
8:55pm up 45 days,
Ben Cairns wrote:
> >I know I've seen one before, and before I go write my own version, does
> >anyone know of a PHP script that echoes the uptime of a server (Linux) in
> >days,hour,minutes, etc?
>
> Does anyone know a script to do this under WinNT?
http://is-it-true.org/nt/atips/atips228.sht
Why would you want to advertise that? Seems like you would be leaking
information to crackers ...
- Original Message -
From: Ryan Christensen <[EMAIL PROTECTED]>
Sent: Wednesday, May 16, 2001 12:43 AM
> does anyone know of a PHP script that echoes the uptime of a server
(Linux) in
> day
On Wed, 16 May 2001, Ben Cairns wrote:
> >I know I've seen one before, and before I go write my own version, does
> >anyone know of a PHP script that echoes the uptime of a server (Linux) in
> >days,hour,minutes, etc?
>
> Does anyone know a script to do this under WinNT?
For Linux it is easy, ju
>I know I've seen one before, and before I go write my own version, does
>anyone know of a PHP script that echoes the uptime of a server (Linux) in
>days,hour,minutes, etc?
Does anyone know a script to do this under WinNT?
-- Ben Cairns - Head Of Technical Operations
intasept.COM
Tel: 01332 3
exec(uptime);
or
system(uptime);
Tyler
> -Original Message-
> From: Ryan Christensen [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 15, 2001 11:43 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Uptime script?
>
>
> I know I've seen one before, and before I go write my own version, does
>
27 matches
Mail list logo