From: Tim Moore <timothymoore@bigfoot.com>
To: linux-kernel@vger.kernel.org
Cc: Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
Subject: Re: [PATCH] /proc/uptime on SMP machines
Date: Sat, 17 Mar 2001 20:46:19 -0800 [thread overview]
Message-ID: <3AB43D9B.64CAB5C@bigfoot.com> (raw)
In-Reply-To: <15027.62364.751528.388435@siemens.ikp.physik.tu-darmstadt.de> <3AB42E58.1FF1895F@bigfoot.com>
The patch works on 2.2.19pre17. The second machine (asus) has Uwe's patch modified for 2.2. The
machine 'smp' is not patched.
rgds,
tim.
[tim@smp ~]# cat /proc/uptime ; cat /proc/stat | grep cpu ; yes > /dev/null & ; sleep 180 ; killall
yes ; cat /proc/uptime ; cat /proc/stat | grep cpu
[2] 1485
22689.88 21324.40
cpu 175685 0 32321 4329972
cpu0 121396 0 15195 2132398
cpu1 54289 0 17126 2197574
Terminated
22869.90 21324.40
cpu 193551 0 33066 4347365
cpu0 139179 0 15414 2132398
cpu1 54372 0 17652 2214967
[2] - Exit 143 ( cat /proc/uptime; cat /proc/stat | grep cpu; yes > /dev/null
)
[tim@asus ~]# date ; cat /proc/uptime ; cat /proc/stat | grep cpu ; yes > /dev/null & ; sleep 180 ;
killall yes ; cat /proc/uptime ; cat /proc/stat | grep cpu
[1] 870
Sat Mar 17 20:41:49 PST 2001
3260.19 2337.13
cpu 174676 0 9849 467515
cpu0 90385 0 4666 230969
cpu1 84291 0 5183 236546
Terminated
3440.20 2424.73
cpu 192352 0 10656 485034
cpu0 108059 0 4992 230970
cpu1 84293 0 5664 254064
[1] + Exit 143 ( date; cat /proc/uptime; cat /proc/stat | grep cpu; yes >
/dev/null )
[tim@asus ~]# cat /proc/version
Linux version 2.2.19pre17 (root@asus) (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release))
#5 SMP Sat Mar 17 19:44:42 PST 2001
--
prev parent reply other threads:[~2001-03-18 4:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-17 23:30 [PATCH] /proc/uptime on SMP machines Uwe Bonnes
2001-03-18 3:26 ` Tim Moore
2001-03-18 3:41 ` Tim Moore
2001-03-18 4:46 ` Tim Moore [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3AB43D9B.64CAB5C@bigfoot.com \
--to=timothymoore@bigfoot.com \
--cc=bon@elektron.ikp.physik.tu-darmstadt.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox