05-11-2009
Does vmstat -d give a count of actual physical writes/reads done to/from hard disk?
Hi,
I am trying to find the reliability of 'vmstat -d' for showing the actual physical writes on sectors on hard disk.
Can anyone please tell me if the numbers in the "sectors" field under "read" or "write" headers show a count of the actual write commands sent to disk from the low level driver?
More precisely, from this number, say n, can we be sure that n sectors on disk have been physically written to?
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
vmstat -P commands gives me an output as shown at the end of this message.
my first question is about the difference between "total physical memory" and "total physical memory use"
"Total Physical Memory" -"Total Physical Memory Use"
524288 pages-524026 pages= 262 pages
does it mean... (0 Replies)
Discussion started by: gfhgfnhhn
0 Replies
2. Shell Programming and Scripting
Hi everyone,
Ive got a quick question about the feasibility and any suggestions for a shell script. I can use sh or ksh, doesnt matter. Basically, Ive got an output file from a db2 command that looks like so:
SCHEMA NAME CARD LEAF ELEAF LVLS ISIZE NDEL KEYS F4 F5 ... (3 Replies)
Discussion started by: rdudejr
3 Replies
3. HP-UX
Hi
is there a cmd in hpux 11 to determine the physical size of the hard disk.
not bdf command.
i have searched the other threads here but cant find an answer.
thank you guys (4 Replies)
Discussion started by: hoffies
4 Replies
4. Shell Programming and Scripting
I would like to write shell/perl script which identifies the top unix processes that are performing high disk I/O's or/and writes
If any one knows the solution please help me?
-Swamy (0 Replies)
Discussion started by: avsswamy
0 Replies
5. UNIX for Advanced & Expert Users
Guys,
Is there any UNIX command that captures the 'Unix process which is performing high disk I/O reads and writes'.
can you help me in this?
-Swamy (6 Replies)
Discussion started by: avsswamy
6 Replies
6. Filesystems, Disks and Memory
Hi All
I was wondering how the copying of vast amounts of data affected the overall lifespan of an HDD.
In my example, I'm copying approx 120GB (250,000) of files, once per hour from disk to another.
Is this likely to have a detrimental effect on the disk in terms of reads/writes etc?
... (2 Replies)
Discussion started by: huskie69
2 Replies
7. Shell Programming and Scripting
Hi,
I run a command in the shell that run another process. I need a way to provide the command's pid to the subprocess. For instance, if I run the command foo:
foo process_to_run -p foo's_pid
I would like to pass to process_to_run the pid of the foo command, or something that link... (2 Replies)
Discussion started by: Dedalus
2 Replies
8. Linux
Hi all,
I'm kind of new to programming in Linux & c/c++. I'm currently writing a FileManager using Ubuntu Linux(10.10) for Learning Purposes. I've got started on this project by creating a loopback device to be used as my virtual hard disk. After creating the loop back hard disk and mounting it... (23 Replies)
Discussion started by: shen747
23 Replies
9. UNIX for Dummies Questions & Answers
I was analyzing the Disk read using hdparm utility.
This is what i got as a result.
# hdparm -t /dev/sda
/dev/sda:
Timing buffered disk reads: 108 MB in 3.04 seconds = 35.51 MB/sec
# hdparm -T /dev/sda
/dev/sda:
Timing cached reads: 3496 MB in 1.99 seconds = 1756.56 MB/sec... (1 Reply)
Discussion started by: pinga123
1 Replies
10. Shell Programming and Scripting
Hi
I am looking for an easy way to lock game mode (0) for everyone included op on a Minecraft server. It can be a script that every time a player changes game to 1 the script changes back to 0. What the player writes is visible in the java console. I am not good at script programming and my... (0 Replies)
Discussion started by: MyMorris
0 Replies
LEARN ABOUT ULTRIX
disktab
disktab(5) File Formats Manual disktab(5)
Name
disktab - disk description file
Syntax
#include <disktab.h>
Description
The file is a simple data base that describes disk geometries and disk partition characteristics. The format is patterned after the termi-
nal data base. Entries in consist of a number of fields separated by colons (:). The first entry for each disk gives the names that are
known for the disk, separated by vertical bars (|). The last name given should be a long name fully identifying the disk.
The following list indicates the normal values stored for each disk entry:
Name Type Description
ns num Number of sectors per track
nt num Number of tracks per cylinder
nc num Total number of cylinders on the disk
ba num Block size for partition `a' (bytes)
bd num Block size for partition `d' (bytes)
be num Block size for partition `e' (bytes)
bf num Block size for partition `f' (bytes)
bg num Block size for partition `g' (bytes)
bh num Block size for partition `h' (bytes)
fa num Fragment size for partition `a' (bytes)
fd num Fragment size for partition `d' (bytes)
fe num Fragment size for partition `e' (bytes)
ff num Fragment size for partition `f' (bytes)
fg num Fragment size for partition `g' (bytes)
fh num Fragment size for partition `h' (bytes)
pa num Size of partition `a' in sectors
pb num Size of partition `b' in sectors
pc num Size of partition `c' in sectors
pd num Size of partition `d' in sectors
pe num Size of partition `e' in sectors
pf num Size of partition `f' in sectors
pg num Size of partition `g' in sectors
ph num Size of partition `h' in sectors
se num Sector size in bytes
ty str Type of disk (e.g. removable, winchester)
The entries can be automatically generated with the program.
Files
See Also
chpt(8), newfs(8)
disktab(5)