CPU & RAM - Display...
 
Notifications
Clear all

We had a major storm through here recently and we suffered damage to the house roof and ceilings. I just received the quote to repair. I’m hoping that a small fraction of the 80,000 odd people that download SDIO and/or Desktop Info every month won’t mind chipping in a few dollars to help out. Click on the big blue button at the bottom of the page to help us keep a roof over our heads, literally!

Guests have read-only access to our forums. If you wish to participate you will need to register. Be sure to activate your account from the email sent to you when you register.

CPU & RAM - Display on the same row

3 Posts
2 Users
1 Reactions
98 Views
(@scottr)
New Member Registered
Joined: 2 weeks ago
Posts: 2
Topic starter  

Hi, I'm stuck on one issue. I've reviewed the manual and looked at examples, but I haven't found a way to combine cpu tot % and total ram % on the same row. Attached is my .ini file. FYI, I don't take credit for this design. I'm attempting to duplicate a Linux Conky design that is from MXLinux 25 - Infinity, that I like for Win11 use. 

 

Thank you in advance for the assistance,

Scott


   
Quote
Glenn
(@glenn)
Member Admin
Joined: 7 years ago
Posts: 1778
 

add the 'set' option to the CPU item. this will save the display output to a variable called %cpu% (or any other name you choose).  Now add that variable to the display output of PHYSICALRAM.  You can then add the 'hidden:1' option to the CPU so that you only see the second item.

# cpu
CPU=interval:2,background-interval:2,align:c,font-size:14, color:#6787B2, set:cpu, display:cpu  %1[2.0f]% , hidden:1

# memory
PHYSICALRAM=interval:30,align:c,font-size:14, color:#6787B2, display:%cpu% mem  %3% 

Page 33.


   
ReplyQuote
(@scottr)
New Member Registered
Joined: 2 weeks ago
Posts: 2
Topic starter  

@glenn Thank you!


   
Glenn reacted
ReplyQuote
Glenn's Page