2 msgQuestion about gstreamer
4 msgToday's sync breaks stuff
23 msgIs the mailing list working?
9 msggrub weirdness
6 msgOT: Looking for SATA controller recommendation
55 msgback up gentoo system
4 msgWTF? VMWare server modules blocks :/
2 msgstuck with Mysql --config
4 msgWhere is elog documentation
5 msgto which package scrbook.cls belongs?
2 msgepson printers using avasys drivers. anyone?
4 msgblocking packages when emerge gnome-light
3 msgaufs and gentoo-sources
12 msgWhat version of netscape-flash to use with konq...
2 msgNew b43 driver can't find my AP

Which openoffice
\ econti (5 May 2008)
. \ Justin (5 May 2008)
. \ Wang, Baojun (5 May 2008)
. . \ Rudmer van Dijk (5 May 2008)
. \ Dirk Heinrichs (5 May 2008)
. . \ Philip Webb (5 May 2008)
. \ Philip Webb (5 May 2008)
. . \ Francesco Talamona (5 May 2008)
. . . \ Alan McKinnon (5 May 2008)
. . . . \ Uwe Thiem (5 May 2008)
. . . . . \ Alan McKinnon (5 May 2008)
. \ András Csányi (5 May 2008)
. \ Volker Armin Hemmann (5 May 2008)
. . \ Neil Bothwick (5 May 2008)
. . \ Wolf Canis (5 May 2008)
. . . \ Volker Armin Hemmann (5 May 2008)
. . . . \ Mick (5 May 2008)
. . . . . \ Wolf Canis (5 May 2008)
. . . . \ Wolf Canis (5 May 2008)
. . . . . \ Volker Armin Hemmann (5 May 2008)
. . . . . . \ Wolf Canis (6 May 2008)
. . . . . . . \ Zdenek Travnicek (6 May 2008)
. . . . . . . . \ Wolf Canis (6 May 2008)
. \ Justin (5 May 2008)
. . \ Willie Wong (5 May 2008)
. . . \ Justin (5 May 2008)
. . . . \ Willie Wong (6 May 2008)
. . . \ Alan McKinnon (5 May 2008)
. . . . \ Etaoin Shrdlu (6 May 2008)
. . . . . \ Neil Bothwick (6 May 2008)
. . . . . . \ Etaoin Shrdlu (6 May 2008)
. . . . . . . \ Willie Wong (6 May 2008)
. . . \ Volker Armin Hemmann (5 May 2008)
. . . \ b.n. (5 May 2008)
. . . \ Joe User (6 May 2008)
. . . . \ Etaoin Shrdlu (6 May 2008)
. . . . . \ Neil Bothwick (6 May 2008)
. . . . . . \ Etaoin Shrdlu (7 May 2008)
. . . . . . . \ Neil Bothwick (7 May 2008)
. . . . . . . . \ Etaoin Shrdlu (7 May 2008)
. \ Elric Scott (5 May 2008)

2 msgApache status
6 msgusing a HD with bad sectors
2 msgOnly a '-' in 'top' column WCHAN since downgrad...
5 msgUsing package.use
Subject:Re: [OT] Which openoffice
Group:Gentoo-user
From:Etaoin Shrdlu
Date:6 May 2008


 
On Tuesday 6 May 2008, 13:37, Joe User wrote:

> fixed some bugs:
>
> echo `uptime|sed 's/.*up\s*\([0-9]*\).*/\1\/10+/';grep '^cpu
> MHz' /proc/cpuinfo|awk '{print $4"/30+";}';free|grep '^Mem'|awk
> '{print $3"/1024/3+"}';df -P -k -x nfs -x smbfs|awk '{if ($1 ~
> "/dev/(scsi| sd)"){ s+= $2} s+= $2;} END {print
> s/1024/50"/15+70";}'`|sed 's/,/./'| bc|sed 's/\(..$\)/.\1cm/'

As Neil sed, almost everything can be done with awk. Then, Willie said
that the double count for devices is a bug. Thus:

echo `uptime|awk '{print $3"/10+"}'; awk '/^cpu MHz/{print
$4"/30+"}' /proc/cpuinfo; free|awk '/^Mem/{print $3"/1024/3+"}';
df -Pk -x nfs -x smbfs|awk 'NR>1{s+=$2} END{print s/1024/50"/15+70"}'`|
bc|sed 's/.$/.&cm/'

which shortens my length to 105.0cm >:-(
--
gentoo-user mailing list



© 2004-2008 readlist.com