9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Suppose i run passwd via bash shell. It is a suid program, which temporarily runs as root(owner) and modifies the user entries.
However, when i write a C file and give 4755 permission and root ownership to the 'a.out' file , it doesn't run as root in bash shell. I verified this by... (2 Replies)
Discussion started by: syncmaster
2. IP Networking
I am trying my hand in networking programming in C, and got stuck in piping.
I was following some tutorial and did the forking like :
newsockfd = accept(sockfd,
(struct sockaddr *) &cli_addr, &clilen);
if (newsockfd < 0)
... (4 Replies)
Discussion started by: abhi1988sri
3. Shell Programming and Scripting
I have one script that calls another script during execution. The other script does some processing, then either returns with exit 0 (if successful), or exits with error code numbers (if failed). However, in addition to the error code, I would like for that second script to be able to pass a... (4 Replies)
Discussion started by: AcerAspirant
Has somebody download it before oracle deleted from support section?
I tried dl it from:
oracle.com/us/products/tools/message-passing-toolkit-070499.html Oracle Message Passing Toolkit
section decommissioned. Same in support and edelivery
I phoned to oracle support and... (2 Replies)
Discussion started by: time0ut
5. UNIX for Dummies Questions & Answers
Are the programs written on schedulers ,thread library , process management, memory management, et al called systems programs ? How are they different from the programs that implement functions like open() , printf() , scanf() , read() .. they have a prefix sys_open, sys_close, sys_read etc , right... (1 Reply)
Discussion started by: vishwamitra
6. UNIX for Advanced & Expert Users
i want to add a system call(successfuly added) and pass the message(which contains int and a string)
/*code i used my program calling system call printmsg*/
printf("integer... (1 Reply)
Discussion started by: kathir_dz
7. UNIX Benchmarks
CPU: 1 x PA8600, 440MHz
Hardware model: 9000/800/N4000-44
BYTE UNIX Benchmarks (Version 3.11)
System -- HP-UX xxx B.11.11 U 9000/800 615379343 unlimited-user license
Start Benchmark Run: Tue Apr 4 05:43:42 IST 2006
1 interactive users.
Dhrystone 2 without register... (0 Replies)
Discussion started by: blowtorch
I work in a computer company which sells computer configurations and parts of them. And I want to give a choice to customers. If they want to buy a PC with Linux installed, not Windows. But I find difficult to test the Graphic Cards in Linux OS. I have searched the web and I didn't found any... (2 Replies)
Discussion started by: vlatkop
Would you tell me how I can passing a message along pipes?
I have built a token ring connected with pipes, but I don't know how to pass the message along it through the command line...
i- (1 Reply)
Discussion started by: iminus
SRAW(8) System Manager's Manual SRAW(8)
sraw - benchmark raw scsi I/O performance under linux
sraw [ -fiv6 ] scsi-device [ bstart [ bstep ] ]
This program basically reads the specified scsi device and measures the throughput. Note that the filesystem *AND* the buffer cache are
bypassed by this code, this program was designed to benchmark the naked scsi drivers by themselves without the need to account for the
overhead of any other portion of the kernel. It also could be used to benchmark disk read throughput.
This program does a series of reads of the disk, of consecutive areas on the disk. The device is first queried to determine the sector
size for the device, and then the series of reads is begun. About 5.0 Mb is read from the device, and then the performance numbers are
reported. Note that since the buffer cache is completely bypassed, there is no need to be concerned about cache hits or anything.
Output of sraw is a set of lines, 4 numbers per line: blocksize, elapsed time, nblocks and throughput (in bytes per second).
scsi-device is either a block device (e.g. /dev/sda, /dev/scd0) or a generic SCSI device (e.g. /dev/sg0).
-f set FUA (Force Unit Access) bit during read. Data is then read from media instead of internal drive cache.
-i use legacy ioctl instead of new SG I/O layer (will not work on 2.6 kernel and block devices).
-v more verbose output.
-6 use 6-bytes instead of 10-bytes read command. In this case, only the first GB of data could be read from media.
bstart starting block to check different zones on ZBR discs
bstep factor for sequential stepping, default 1. Use 0 for reading always the same blocks (from cache)
sraw could issue input/output errors when reading too many blocks at the same time from a block device like /dev/sda. To get rid of them,
use /dev/sgN instead.
sraw was first written by Eric Youngdale. Extensions (-v, -f, -6, SG IO, man page) were written by Eric Delaunay.
sg_dd(8) from sg3-utils package.
sraw is available at
Nov 1993 SRAW(8)