12-03-2019
For Linux statistics, you can try with
1) sar : If sar was enabled, you can review performance statistics of several days ago, you can use "ksar" to generate the graphs.
2) nmon: is a excellent tools for perfomance analytics, the disadvantage is that you need run the command (manually or with crontab), but you can find multiples tools to generate the graphics.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
My question is how can i stop my users on system from deleting their history.
How can i stop the users from running 'history -c'.
I have searched thoroughly on the forum but didn't find any satisfactory solution to the problem.
kindly help if you any suggestions
Thanx in... (3 Replies)
Discussion started by: xander
3 Replies
2. UNIX for Advanced & Expert Users
ctr+R is used to search bash history reversely, How to get next match? just like N in vi search. (1 Reply)
Discussion started by: honglus
1 Replies
3. Linux
Hi All,
Is there a way to check command executed by users in Linux for a specific date? I know we can use history, but it doesn't shows yesterday's executed commands.
rgds, (3 Replies)
Discussion started by: ronny_nch
3 Replies
4. UNIX for Dummies Questions & Answers
Hello All, Good Morning.
I am trying to erase history list in my linux box, but my below command is failing. What is the actual way to clear it?
> history clear
-bash: history: clear: numeric argument required
Also when I run my commands in my command prompt, my team lead can see my... (7 Replies)
Discussion started by: NARESH1302
7 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I am getting a high load average, around 7, once an hour. It last for about 4 minutes and makes things fairly unusable for this time.
How do I find out what is using this. Looking at top the only thing running at the time is md5sum.
I have looked at the crontab and there is nothing... (10 Replies)
Discussion started by: sm9ai
10 Replies
6. Shell Programming and Scripting
Hi - Can anyone help me to get the shell script for the below scenario
I need to find out the time stamps history for the files residing within the subfolders. Ex..
Let say I got directory structure like
/home/project1/ -- Fixed directory
Now within the project there are many... (1 Reply)
Discussion started by: pankaj80
1 Replies
7. UNIX for Dummies Questions & Answers
Hi friends,
I am unable to find the .sh_history file on my PC.
This files contains the log of all commands typed by the users.
I searched it also , but no results.
Please help me :(, where to find it . Or is there anything else to do to set the history file. (6 Replies)
Discussion started by: paras.oriental
6 Replies
8. HP-UX
Please guide me how to get the head cleaning history on HP HP MSL4048 1 LT0-4 Ultrium 1840. (0 Replies)
Discussion started by: marunmeera
0 Replies
9. What is on Your Mind?
Dear All,
Taking a break from Vue.js coding for the site, SEO and YT videos; and hopefully addressing some well deserved criticism from some here that I have been too focused on the visual aspects of the forums versus the substance and the community....
While the "current generation... (9 Replies)
Discussion started by: Neo
9 Replies
10. UNIX for Advanced & Expert Users
I have been wrangling with a small problem on a Ubuntu server which runs a LAMP application.
Linux ubuntu 4.15.0-33-generic #36-Ubuntu SMP Wed Aug 15 16:00:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
This server runs fine, basically:
ubuntu:/var/www# uptime
20:17:13 up 105 days,... (45 Replies)
Discussion started by: Neo
45 Replies
SA2(8) Linux User's Manual SA2(8)
NAME
sa2 - Write a daily report in the /var/log/sa directory.
SYNOPSIS
/usr/lib/sa/sa2
DESCRIPTION
The sa2 command is a shell procedure variant of the sar command which writes a daily report in the /var/log/sa/sardd file, where the dd
parameter indicates the current day. The sa2 command handles all of the flags and parameters of the sar command.
The sa2 command is designed to be started automatically by the cron command.
EXAMPLES
To run the sa2 command daily, place the following entry in your root or adm crontab file:
5 19 * * 1-5 /usr/lib/sa/sa2 -A &
This will generate a daily report called /var/log/sa/sardd It will also remove reports more than one week old.
FILES
/var/log/sa/sardd
Indicate the daily report file, where the dd parameter is a number representing the day of the month.
AUTHOR
Sebastien Godard <sebastien.godard@wanadoo.fr>
SEE ALSO
sar(1), sadc(8), sa1(8), mpstat(1), iostat(1), vmstat(8)
http://perso.wanadoo.fr/sebastien.godard/
Linux DECEMBER 1999 SA2(8)