LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-22-2023, 06:15 PM   #1
gregors
Member
 
Registered: Mar 2018
Posts: 180

Rep: Reputation: Disabled
Smile [gnuplot] Date/Time interval possible?


Hi there!

I'm using gnuplot to make some nice plots - the goal is to know my 'new' computer. That means: I'm collecting cpu load and temperature values to see if everything (esp. the temperature) is okay.
So far I made it to some nice plot - see https://test.szaktilla.de/plot3.pdf

So far I am using 'tail -n' lines of the log file to control the 'x size' of the plots. This way I can have some 'at least x hours' range.

Is it possible to define some more neat range like

[ last 6 hours : now ]

?

I hope I made clear what I want. English isn't my mothers tongue.

Gregor

PS: Found it in the 'online help' of gnuplot ...

Code:
set timefmt "%d.%m.%y-%H:%M:%S"
set xrange [ "22.1.23-10:00:00" : "23.1.23-1:00:00" ]

Last edited by gregors; 01-22-2023 at 06:26 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] making a gnuplot 3d graph or gnuplot fence plot Rinndalir Programming 3 10-23-2015 01:10 PM
[SOLVED] gnuplot basic graph problem - noob to gnuplot sudowtf Linux - General 2 04-02-2015 11:00 AM
[SOLVED] help in gnuplot custom interval sarf2k4 Linux - Software 2 09-09-2014 03:21 AM
[SOLVED] Long interval between updates and FILELIST.txt is way out of date BobNutfield Slackware 10 02-26-2012 04:58 PM
Start Date + Time Duration = End Date/Time calculator? ToBe Linux - General 3 09-26-2005 10:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration