Eight megabytes per second seems a bit slow even for a green drive, I think this can be optimized a bit.
The first dd does nothing but waste time, pipebench can read fine directly from tr. If you mean to fill the entire drive, count is redundant anyway -- dd will stop when it reaches the end. Or you could put bs and count on the final dd instead of the first.
Increasing the blocksize may make it more efficient. It doesn't need to match the drive's block size -- this isn't raw I/O.
It's also possible to get progress statistics from dd itself instead of using pipebench, by sending it SIGUSR1:
I'm looking for a way in Korn shell to zero fill (or space fill) the output from df so that it will sort properly.
"Raw" output from df -k:
df -k
Filesystem kbytes used avail capacity Mounted on
/dev/vx/dsk/rootvol 4131866 3593302 497246 88% /
/proc ... (9 Replies)
Can anybody suggest you a good script to show progress of a process.
I figured it out some thing like this. But cursor goes to the end of the line and after every loop it goes to the next line.
while true ; do
for i in \| \/ \- \\ \| \/ \- \\
do
echo "\b\b$i \c"
sleep 1
done
done (8 Replies)
Hi folks,
Please advise which command/command line shall I run;
1) to display the command and its output on console
2) simultaneous to save the command and its output on a file
I tried tee command as follows;
$ ps aux | grep mysql | tee /path/to/output.txt
It displayed the... (7 Replies)
Hi Experts,
I have written a php script that calls several smaller bash shell scripts throughout it's loop process. Users run this script to achieve a task that this script has automated. However this script depending upon the amount of input variables could take some time to run. It may be a... (5 Replies)
Greetings,
I have a hard time creating a large number of user profiles in a database.
The data file looks like this :
01/01/80 Mitch Conley
.
.
.
.
And I need to put the output into:
Name: Mitch
Surname: Conley
Birthday: 01/01/80
Thanks in advance! (3 Replies)
Hi,
I want to use zenity --progress and also put the output to the terminal.
I tried using the tee command but that puts the output to the terminal first and then shows the zenity progress dialog.
Take the normal example by the gnome manual:
(
echo "10" ; sleep 1
... (0 Replies)
I have been trying to fill all available file space on my Solaris box for my project but have not been successful. I have tried the following script:
tr '\0' '\060' < /dev/zero | dd of=zero2.txt bs=1024 count=1953125
But the only thing i get in return is this:
"d: bad numeric argument:... (8 Replies)
Hello,
I use a lot this command to edit a bunch of files at once
find . -name filename" | xargs -ifoo sh -c 'echo foo ; sed "s/pattern1/pattern2/" foo > ./tmp ; mv -f ./tmp foo'
I'm trying to put a function on my .bashrc file.
function loopSed()
{
local filename=$1
local... (2 Replies)
I am using UNIX to create a script on our system. I have setup my commands to append their output to an outage file. However, some of the commands return no output and so I would like something to take their place.
What I need
The following command is placed at the prompt:
TICLI... (4 Replies)
hi all,
i want to monitor the progress of a find and exec command, this is the code i use -
find . -type f -exec md5sum {} \; >> /md5sums/file.txt
this command works and produces a text file with all the md5sums but while running it doesnt show the progress
is there anyway i can do this... (4 Replies)
Discussion started by: robertkwild
4 Replies
LEARN ABOUT DEBIAN
tkinspect
tkinspect(1) Tkinspect tkinspect(1)__________________________________________________________________________________________________________________________________________________NAME
tkinspect - Tk application inspector
SYNOPSIS
tkinspect
_________________________________________________________________DESCRIPTION
tkinspect is an inspector for Tk applications. It uses Tk's send command to retreive infomation from other Tk applications.
tkinspect
When you choose an application through the File/Select Interpreter menu, lists will be filled with the names of the procs, globals, and
windows the the application. Clicking on one of those names will fill the value window with the definition of the proc, the value of the
global variable, or various information about the window. The value window is editable and its contents can be sent back to the selected
application.
Tcl commands can be sent to the seleted application using the Command: entry, or through a command line (via the File/New Command Line
menu) interface to the application. The command line is nearly identical to Tk's demo rmt.
For further information, select a topic from the help window's Topics menu.
SEE ALSO
/usr/share/doc/tk8.5/examples/rmt, send(3tk)KEYWORDS
Tcl, Tk
tkinspect 5.1.6p10 tkinspect(1)