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 DEBIAN
createhdf
createhdf(1) Emulators createhdf(1)
NAME
createhdf - Create a blank IDE hard disk image in .hdf format
SYNOPSIS
createhdf [ -c ] [ -s ] cylinders heads sectors file
DESCRIPTION
createhdf creates a blank image of an IDE hard disk in .hdf format for use with Sinclair ZX Spectrum emulators.
OPTIONS
-c specifies that the .hdf image should be created in `compact' mode, where only the low byte of every word is stored in the image.
This is useful for saving space if the hard disk image is for use with an interface which accesses only the low byte of every word.
-s specifies that the .hdf image should not be created as a sparse file. Normally, createhdf will attempt to create the hard disk image
as a `sparse file', where the operating system knows that the file consists mostly of zero bytes and fills those in without using
any space in the file. This option disables this. (There's nothing `magic' about this: if data is written to the file, it will take
up space just like any other data; it's only empty space which is synthesised by the operating system).
-v version
specifies the version of .hdf image to be created. Valid values are `1.0' for a version 1.0 file and `1.1' for a version 1.1 file.
Defaults to creating version 1.1 files.
cylinders
specifies the number of cylinders in the image.
heads specifies the number of heads in the image.
sectors
specifies the number of sectors in the image.
file specifies the file to which the image should be written.
BUGS
None known.
SEE ALSO
fuse(1), fuse-utils(1), libspectrum(3)
The .hdf format specification, at
http://www.ramsoft.bbk.org/hdfform.html.
The comp.sys.sinclair Spectrum FAQ, at
http://www.worldofspectrum.org/faq/index.html.
AUTHOR
Philip Kendall (philip-fuse@shadowmagic.org.uk).
Version 1.0.0 16th December, 2010 createhdf(1)