Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] visa vcore i conky
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Scandinavian
View previous topic :: View next topic  
Author Message
Ulf-Kenneth
n00b
n00b


Joined: 16 Jun 2004
Posts: 34
Location: Umeå / Sweden

PostPosted: Sun Jul 09, 2006 1:29 pm    Post subject: [Solved] visa vcore i conky Reply with quote

Kan man använda grep med någon växel för att få ut en speciell position ur en rad?

Code:
$ sensors |grep VCore
VCore:     +1.10 V  (min =  +0.70 V, max =  +1.87 V)

Jag vill bara få ut "1.10"

Finns det något sätt att åstadkomma det?

Jag ska använda det för att visa spänningen i conky.


Last edited by Ulf-Kenneth on Sun Jul 09, 2006 9:12 pm; edited 1 time in total
Back to top
View user's profile Send private message
Ulf-Kenneth
n00b
n00b


Joined: 16 Jun 2004
Posts: 34
Location: Umeå / Sweden

PostPosted: Sun Jul 09, 2006 9:11 pm    Post subject: Reply with quote

Code:
$ sensors | grep VCore |cut -b 13-16
1.10
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Scandinavian 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