Its not the same computing size especially if so many files than just list...Because it after has to add total of each subdirectory etc...
What is /data? a file system? in which case why not just
and where it gets complicated is if you have NFS mounted on top...
Hi I am trying to find out the best way to find out how long a command takes to run in miliseconds ..
Is there such a way of doing this in Unix ?
Thanks (3 Replies)
After my previous thread, I think I found out what causes the long delays.
I run this program on several Linux computers, and the sometimes (after the file with the arrays becomes big) the fwrite takes between 100 ms to 900 ms.
This is very bad for me, as I want a timer to halt each 30 ms.... ... (5 Replies)
Hello,
I have a C program that takes anywhere from 5 to 100 arguments and I'd like to run it from a script that makes sure it doesnt take too long to execute. If the C program takes more than 5 seconds to execute, i would like the shell script to kill it and return a short message to the user. ... (3 Replies)
Hello,
like the title says, how can i measure the time it takes to load a module in Linux, and how how can i measure the time it takes to load a statically compiled module.
/Best Regards Olle
---------- Post updated at 01:13 PM ---------- Previous update was at 11:54 AM ----------
For... (0 Replies)
Dear experts
I have a 200MG text file in this format:
text \tab number
I try to sort using options -fd and it takes very long! is that normal or I can speed it up in some ways?
I dont want to split the file since this one is already splitted.
I use this command: sort -fd file >... (12 Replies)
Hi,
I wish to check the return value for wget $url.
However, some urls are designed to take 45 minutes or more to return.
All i need to check if the URL can be reached or not using wget.
How can i get wget to return the value in a few seconds ? (8 Replies)
Hi,
I am running a ssh connection test in a script, how can I add a timeout to abolish the process if it takes too long?
ssh -i ~/.ssh/ssl_key useraccount@computer1
Thank you.
- j (1 Reply)
Hi,
Below is my find command
find /opt/app/websphere -name myfolder -perm -600 | wc -l
At time it even takes 20 mins to complete.
my OS is : SunOS mypc 5.10 Generic_150400-09 sun4v sparc SUNW,T5440 (10 Replies)
Hi,
I am trying to search for a Directory called "mont" under a directory path "/opt/app/var/dumps"
Although "mont" is in the very parent directory called "dumps" i.e "/opt/app/var/dumps/mont" and it can never be inside any Sub-Directory of "dumps"; my below find command which also checks... (5 Replies)
Hi,
I have a lengthy script which i have trimmed down for a test case as below.
more run.sh
#!/bin/bash
paths="allpath.txt"
while IFS= read -r loc
do
echo "Working on $loc"
startdir=$loc
find "$startdir" -type f \( ! -name "*.log*" ! -name "*.class*" \) -print |
while read file
do... (8 Replies)
Discussion started by: mohtashims
8 Replies
LEARN ABOUT OSF1
next
next(1) General Commands Manual next(1)NAME
next - show the next message (only available within the message handling system, mh)
SYNOPSIS
next [+foldername] [-[no]header] [-help] [-showproc program] [-noshowproc] [options to showproc]
OPTIONS
Displays a one-line header before the message. The header consists of the name of the folder and the message number. This is the default
behavior. It can be suppressed with the -noheader option. Prints a list of the valid options to this command. Specifies an alternative
program to list messages. The default is to use the program defined by the showproc: entry in the file. As with show, you can give options
to the showproc program at the command line. These are passed directly to showproc by next. (If you specify an option that has a numerical
value, leave no space between the argument and the value. See RESTRICTIONS for more information.)
The defaults for this command are:
+folder defaults to the current folder -header
DESCRIPTION
The command next displays the next message in the current folder. The next message is the one after the current message in the folder. The
message that is shown becomes the current message.
If you name a folder using the +folder argument, next displays the next message in the folder you specify. That folder becomes the current
folder.
RESTRICTIONS
The next command is really a link to the show program. As a result, if you make a link to next and that link is not called next, your link
will act like show instead. To avoid this, add a profile-entry for the link to your and add the argument next to the entry.
Also, if you use the showproc switch to specify an alternative viewer, leave no space between the options specified with the viewer and
their values. For example, if you want to use the more command to scroll through messages in your inbox folder, and you want to pause every
five lines, you would enter the following command, where there is no space between the option n and the value 5: % next +inbox -showproc
more -n5
If there is space between the option n and the value 5, the command interprets 5 as a message number to view.
PROFILE COMPONENTS
Path: To determine the user's Mail directory
showproc: Program to show the message
FILES
The user profile.
SEE ALSO show(1), prev(1), mh_profile(4)next(1)