05-31-2011
Stats on Subdirectories
No, it is not an assignment, I need to do it for a user as our system admin is away on repat.
8 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
What do others use for measuring I/O statistics? I'd like something versatile, as in being able to watch (like iostat, but easier to trend), generate load (like iozone, but more realistic), and perform somewhat generalized benchmarks (like bonnie, but more current.) It would scale from a few... (0 Replies)
Discussion started by: LivinFree
0 Replies
2. AIX
I recieved this out put below soemhow. Unfortunatly I did not write down the command I used to get it. Can someone tell me what command I use to gather these stats?
OS = AIX 5.3 64Bit
System Model: IBM,7026-6H1
Machine Serial Number:... (2 Replies)
Discussion started by: rocker40
2 Replies
3. AIX
Aix 5.3 I am trying to view the IO stats. I do the sar 5 5 but that is the WIO and si different than the IO stats right? I am just blanking on this. I know there is a command that I used to run that brings up a whole bunch of live stats that run live such as mem and so on just can't rememeber... (4 Replies)
Discussion started by: rocker40
4 Replies
4. Shell Programming and Scripting
So, I have a php program that i need to delete ALL files in a directory that are older than a certain age.
<?php
/* Get file stat */
$stat = stat('/apps/security/ajaba');
This is as far as I've been able to get. I know in shell programming you can easily do something like this. but I'm... (2 Replies)
Discussion started by: SkySmart
2 Replies
5. Shell Programming and Scripting
Hi,
I am required to build up a stats out of returned output. Something like given below. I would like first string in first column with a heading, and so on.
Is there any way I could do it, while adding something after the command, or any other way.
bash-2.05$ grep -i... (12 Replies)
Discussion started by: john_prince
12 Replies
6. UNIX for Advanced & Expert Users
The last few weeks I've had a problem with Comcast in San Francisco (anyone else sharing the same issue ? Please share !)
During the late afternoon throughout early morning hours I see a high amount of dropped packets and increased latency when pinging my favorite destinations, like 8.8.8.8.
... (1 Reply)
Discussion started by: SandmanCL
1 Replies
7. Red Hat
Hi,
Is there a way that I can find the load usage stats on a cluster (Redhat 4.8)? I want to find out if my jobs are using too many resources. I am not a sys admin.
Also, apart from 'top', what other commands can be used to monitor your own jobs as an ordinary user?
thanks!! (1 Reply)
Discussion started by: pc2001
1 Replies
8. What is on Your Mind?
Hey.
So... here are the changes.
1. The current home page of the forum is now based on a algo (below) which shows a thread based on this SQL
$select_limit = 1;
$reply_count = 3;
$thread_array = array();
$forum_id = 30; //shell programming
$query = 'SELECT * FROM thread WHERE... (5 Replies)
Discussion started by: Neo
5 Replies
LEARN ABOUT DEBIAN
queue-repair
queue-repair(8) System Manager's Manual queue-repair(8)
NAME
queue-repair - deal with the qmail queue directory structure
SYNOPSIS
queue-repair [ -htrcbn ] [ -n split ] [ conf-qmail ]
DESCRIPTION
queue-repair deals with the qmail queue structure; it can create a new queue, move and properly rename a queue, dynamically change the
conf-split value, convert big-todo queues to non-big-todo and vice versa, and repair a corrupted queue.
conf-qmail defaults to /var/lib/qmail/ on Debian.
OPTIONS
-h|--help
Display usage information and built-in defaults, then exit.
-t|--test
Run in test-only mode. queue-repair will attempt to report all problems that it finds, without correcting them. This is the
default.
-r|--repair
Run in repair mode. queue-repair will attempt to correct all problems that it finds, except if the basic queue directories (queue,
queue/mess, queue/info, etc) are not found.
-c|--create
Run in create-and-repair mode. queue-repair will attempt to correct all problems that it finds, including creation of a new queue
structure from scratch.
-s|--split split
Specify split as the value of conf-split. This is the number of split subdirectories for those queue directories which are hashed.
The default for qmail is 23. Appropriate values depend on the volume of mail handled, OS filesystem efficiency, and other factors,
but this should always be a prime number.
If you do not specify conf-split, queue-repair will attempt to determine the current value from the existing queue. This option can
be used, however, to change the conf-split value of an existing queue (qmail will still have to be recompiled with the new value).
When creating a new queue, this option must always be specified.
-b|--bigtoto
Use big-todo. queue-repair should be able to automatically determine if you're using qmail patched with the big-todo patch. This
option can be used, however, to convert a non-big-todo queue to a big-todo queue (qmail will still have to be recompiled with the
big-todo patch).
If neither this option nor --no-bigtodo is used, queue-repair will attempt to determine this automatically. When creating a new
queue, either this option or --no-bigtodo must always be specified.
-n|--no-bigtodo
Do not use big-todo. queue-repair should be able to automatically determine if you're using qmail patched with the big-todo patch.
This option can be used, however, to convert a big-todo queue to a non big-todo queue (qmail will still have to be recompiled with-
out the big-todo patch).
If neither this option nor --bigtodo is used, queue-repair will attempt to determine this automatically. When creating a new queue,
either this option or --bigtodo must always be specified.
--i-want-a-broken-conf-split
Force the use of a non-prime value for conf-split.
SEE ALSO
qmail(7)
queue-repair(8)