Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[bash scripting] monitor x cpu [OK]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
jp10hp
Apprentice
Apprentice


Joined: 29 Feb 2004
Posts: 180
Location: Milano

PostPosted: Sun Jul 25, 2004 12:13 pm    Post subject: [bash scripting] monitor x cpu [OK] Reply with quote

ciao vorrei monitorare da terminale la velocità e il voltaggio della mia cpu...lo script è pronto ma nn so come fare in modo che venga eseguito periodicamente(ogni 1-2 secondi)

scusate se sono un po' OT :wink:


Last edited by jp10hp on Sun Jul 25, 2004 12:56 pm; edited 2 times in total
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Sun Jul 25, 2004 12:27 pm    Post subject: Re: [BASH] monitor x cpu Reply with quote

jp10hp wrote:
ciao vorrei monitorare da terminale la velocità e il voltaggio della mia cpu...lo script è pronto ma nn so come fare in modo che venga eseguito periodicamente(ogni 1-2 secondi)


crontab?
_________________
Ciao da me!
Back to top
View user's profile Send private message
jp10hp
Apprentice
Apprentice


Joined: 29 Feb 2004
Posts: 180
Location: Milano

PostPosted: Sun Jul 25, 2004 12:42 pm    Post subject: Reply with quote

sì ci avevo pensato.. ma mi chiedevo anche se esiste un comando da inserire nello script per ottenere un risultato simile - magari fare un ciclo infinito con while che si ripeta ogni 1-2 secondi -, poi infatti volevo lanciare lo script con aterm -tile cpustatus -e cpuscript -g 50x50

in poche parole siccome nn uso + kde volevo sostituire quelle app di karanba che mostrano la velocità della cpu
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Sun Jul 25, 2004 12:44 pm    Post subject: Reply with quote

jp10hp wrote:
mi chiedevo anche se esiste un comando da inserire nello script per ottenere un risultato simile - magari fare un ciclo infinito con while che si ripeta ogni 1-2 secondi


Allora while e sleep per addormentare il processo... non dovrebbe dare problemi
_________________
Ciao da me!
Back to top
View user's profile Send private message
jp10hp
Apprentice
Apprentice


Joined: 29 Feb 2004
Posts: 180
Location: Milano

PostPosted: Sun Jul 25, 2004 12:55 pm    Post subject: Reply with quote

perfetto era proprio quello che volevo!

thanx :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum