[prev in list] [next in list] [prev in thread] [next in thread] 

List:       irssi-users
Subject:    Re: uptime feature
From:       Jakub Jankowski <shasta () quasimodo ! olsztyn ! tpsa ! pl>
Date:       2002-01-25 21:54:02
[Download RAW message or body]

On 2002-01-25, uncleholdout wrote:

>Is there a way to display your uptime on irssi so i can shutup these
>windows guys.. thanks in advance...;)

Irssi's uptime:

/alias UPTIME eval exec - expr `date +%s` - \$F | awk '{print "Irssi
uptime: "int(\\\$1/3600/24)"d "int(\\\$1/3600%24)"h
"int(\\\$1/60%60)"m "int(\\\$1%60)"s" }'

Host's uptime:

/exec uptime

s.

-- 
(0>  Jakub Jankowski  [url]: s.atn.pl   "Life is a bitch,
//\   shasta@IRCnet   [rlu]: 174516      and then you die"
V_/_  shasta@irc.pl   [ekg]: 921514


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic