Sponsored Content
Top Forums UNIX for Advanced & Expert Users How to find out and monitor IO spikes history in Linux? Post 303040625 by umen on Saturday 2nd of November 2019 11:00:24 AM
Old 11-02-2019
thanks for your reply , the application is java tomcat web server which doing heavy batch operation involve reading and writing to DB which is in different server
can you please explain what is : "swap usage side" how do i measure it and what does it mean ?
also what are the best sar parameters to pinpoint what process operation doing the heavy IO
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

stop users from running 'history -c' in Linux

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

bash history with ctr+R, How to get find next match?

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

History of executed command in 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

How to clear history in Linux

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

Load average spikes once an hour

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

To find the time stamps history of the files within the sub-folders

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

Unable to find the history file

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

How to find the head cleaning history on HP HP MSL4048 1 LT0-4 Ultrium 1840?

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?

New UNIX and Linux History Sections

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

Nearly Random, Uncorrelated Server Load Average Spikes

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
swchunk(5)							File Formats Manual							swchunk(5)

NAME
swchunk - swap chunk size in 1 KB blocks VALUES
Default Allowed values blocks blocks DESCRIPTION
Swap space in the kernel is managed using 'chunks' of physical device space. These chunks contain one or more (usually more) pages of mem- ory, but provide another layer of indexing (similar to inodes in file systems) to keep the global swap table relatively small, as opposed to a large table indexed by swap page. controls the size in physical disk blocks (which are defined as 1 KB) for each chunk. The total bytes of swap space manageable by the sys- tem is * 1 KB * 2,147,483,648 (the system maximum number of swap chunks in the swap table). Note that the minimum (or default) value of therefore allows 4,096 TB of swap space. The way to think of is not as the size of the I/O transactions in the swap system (in disk blocks), but as the number of blocks that will be placed on one swap device (or file system) before moving to the next device (assuming all priorities are equal). This spreads the swap space over any devices and is called swap interleaving. Swap interleaving spreads out the swap over many devices and reduces the possibil- ity of one single device becoming a bottleneck for the entire system when swap usage is heavy. Who is Expected to Change This Tunable? This tunable should only be modified by those with a complete knowledge of both kernel behavior and underlying device hardware. Restrictions on Changing Changes to this tunable take effect at the next reboot. When Should the Value of This Tunable Be Raised? If the system owner wishes to add more swap to the system, but the additional swap chunks needed are unavailable, raising this tunable will work around the problem. By increasing the size of each chunk, fewer total chunks are needed. What Are the Side Effects of Raising the Value? The second level of the swap table (used to track pages within a chunk) will increase, resulting in more memory used by the kernel. If is being increased to allow for mapping of a larger swap space, increased memory usage by the kernel to track the swap space is unavoidable. This means that more swap is allocated to each device (or file system) using the round-robin interleaving scheme when all priorities are equal. Increasing when the number of chunks needed to represent the system swap space is less than 2,147,483,648 could hinder system per- formance by creating unneeded I/O bottlenecks. For example, two pages that were in different chunks using the smaller value which were previously on different swap devices and thus accessible independently of one another (with no read head or controller issues) are now on the same device and cannot be read concurrently, resulting in a longer access time for the second page. When Should the Value of This Tunable Be Lowered? If the amount of swap space mappable by the system is much larger than the total amount of swap space which is attached (or going to be attached) to the system, which is calculable by multiplying 2,147,483,648 * 1 KB, then kernel memory usage can be reduced by lowering to fit the actual swap space. What Are the Side Effects of Lowering the Value? It may have to be raised back if more swap is added to the system and there is not enough room in the swap table to allow for the increased space. If this is not the case, then there is a finer grain of interleaving on the system (assuming there is more than one swap device) that can provide a performance gain under heavy swap usage. What Other Tunable Values Should Be Changed at the Same Time? A change to is independent of any other tunables. WARNINGS
All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of HP-UX. Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parameter values. After installation, some tunable parameters may no longer be at the default or recommended values. For information about the effects of installation on tun- able values, consult the documentation for the kernel software being installed. For information about optional kernel software that was factory installed on your system, see at AUTHOR
was developed by HP. Tunable Kernel Parameters swchunk(5)
All times are GMT -4. The time now is 04:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy