Don't know why you have started another thread on this subject. Your original performance issue was about whether sorting by date was a greater performance hit then sorting by name.
As other correspondents remark the "while" construct can deal with any number of files. However, only ONE filename is presented in each iteration:
I still recommend specifying the "-1" parameter (hyphen one).
If files are continuously arriving in the directory this can create issues with embyonic files (i.e. files which are part-written). Does your process have in intermediate name for files while they are being written?
Last edited by methyl; 08-16-2009 at 12:33 PM..
Reason: indent
Hello all,
i've written a small piece of code that will read commands from standard input and executes the commands.
Its working fine and is execting the commands well. Accepting arguments too. e.g
#mkdir <name of the directory>
The problem is that its not letting me change the directory i.e... (4 Replies)
About 4 years ago I wrote this tool inspired by Rob Urban's collect tool for DEC's Tru64 Unix. What makes this tool as different as collect was in its day is its ability to run at a low overhead and collect tons of stuff. I've expanded the general concept and even include data not available in... (0 Replies)
Hi,
Actually i wanted to check out the process time for the execution of commands on unix, i looking for the script which can include all commands which are to be executed on the system and i need to get the time for executing each command,
can somebody help me
Thanks & Regards
Murali (1 Reply)
I want to log into a remote server transfer over a new config and then backup the existing config, replace with the new config.
I am not sure if I can do this with BASH scripting.
I have set up password less login by adding my public key to authorized_keys file, it works.
I am a little... (1 Reply)
hello,
does anyone know how to expand the column width so it could contain full USER cell and not cut it in top ? Now it has eleven symbols but I can see only eight
actualy I found only PID, PPID and %CPU columns variation possibilities in changelog (procps v.3.2.5).
thanks in advance. (1 Reply)
Looking at the performance hit on my server, does it matter wich command I run?
client # rsh server tar –cf - . | tar –cv –f –
or
server # tar –cf – . | rsh client ‘cd target && tar –xv -f –‘
I think it doesn't really matter because both command strings involve a tar being run on... (4 Replies)
Hi all,
I'm new in this forum.
I'm looking for the difference between the HACMP commands with the prefix "cl" and "cli".
The first type are under /usr/es/sbin/cluster/sbin directory and the second are under /usr/es/sbin/cluster/cspoc directory.
I know that the first are called HACMP for AIX... (0 Replies)
Hi
i have folder of 26 GB on server A and want to copy to server B .i used the below commands to check file size and scp copy
du -h /folder : its shows 26G on server A
from server B:
scp -r user@serverA:/folder/* ./copying got initiated and i am checking the file size on server B... (7 Replies)
I have a file like this:
ASSPASVFETQY,hTRBV12-4,hTRBJ2-5,2
ASSPASTGGDYGYT,hTRBV18,hTRBJ1-2,2
ASSPASGDGYT,hTRBV5-1,hTRBJ1-2,2
ASSPASFPEDTQY,hTRBV27,hTRBJ2-3,2
ASSPARVNYGYT,hTRBV5-1,hTRBJ1-2,2
ASSPARTSGGLNEQF,hTRBV6-4,hTRBJ2-1,2
ASSPARQSYNEQF,hTRBV11-1,hTRBJ2-1,2... (4 Replies)
Hello,
I am writing a small one liner script to display the tables in my database.
I am working with Centos 5.5 and postgresql
the command is
"psql -c "\dt" | awk '{print$3}'"
I just want the 3rd column from the result set, but now the problem is I am getting the third column but with... (3 Replies)
Discussion started by: nnani
3 Replies
LEARN ABOUT REDHAT
x11perfcomp
X11PERFCOMP(1) General Commands Manual X11PERFCOMP(1)NAME
x11perfcomp - X11 server performance comparison program
SYNTAX
x11perfcomp [ -r | -ro ] [ -l label_file ] files
DESCRIPTION
The x11perfcomp program merges the output of several x11perf(1) runs into a nice tabular format. It takes the results in each file, fills
in any missing test results if necessary, and for each test shows the objects/second rate of each server. If invoked with the -r or -ro
options, it shows the relative performance of each server to the first server.
Normally, x11perfcomp uses the first file specified to determine which specific tests it should report on. Some (non-DEC :) servers may
fail to perform all tests. In this case, x11perfcomp automatically substitutes in a rate of 0.0 objects/second. Since the first file
determines which tests to report on, this file must contain a superset of the tests reported in the other files, else x11perfcomp will
fail.
You can provide an explicit list of tests to report on by using the -l switch to specify a file of labels. You can create a label file by
using the -label option in x11perf.
OPTIONS
x11perfcomp accepts the options listed below:
-r Specifies that the output should also include relative server performance.
-ro Specifies that the output should include only relative server performance.
-l label_file Specifies a label file to use.
X DEFAULTS
There are no X defaults used by this program.
SEE ALSO X(7x), x11perf(1)AUTHORS
Mark Moraes wrote the original scripts to compare servers.
Joel McCormack just munged them together a bit.
X Version 11 Release 6.6 X11PERFCOMP(1)