02-13-2009
Without more details, my first guess would be problems with your automounter or a bad local file system...
10 More Discussions You Might Find Interesting
1. Programming
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)
Discussion started by: inna
5 Replies
2. Shell Programming and Scripting
Hi all,
I wrote this shell script to validate filed numbers for input file. But it take forever to complete validation on a file. The average speed is like 9mins/MB.
Can anyone tell me how to improve the performance of a shell script?
Thanks (12 Replies)
Discussion started by: ozzman
12 Replies
3. Red Hat
I'm having a bit of a login performance issue.. wondering if anyone has any ideas where I might look.
Here's the scenario...
Linux Red Hat ES 4 update 5
regardless of where I login from (ssh or on the text console) after providing the password the system seems to pause for between 30... (4 Replies)
Discussion started by: retlaw
4 Replies
4. UNIX for Dummies Questions & Answers
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)
Discussion started by: ollebanan
0 Replies
5. UNIX for Dummies Questions & Answers
We are running unix. After a reboot of the server we have found that changing password takes a long time. if type in passwd "username" you can type in the 1st instance of the password , press enter , then it will wait for about 3 minutes before bringing up the confirm password line typing it in... (4 Replies)
Discussion started by: AIXlewis
4 Replies
6. Shell Programming and Scripting
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)
Discussion started by: voolek
12 Replies
7. Red Hat
When I am trying to login to a server using Putty ssh from my windows xp machine it is taking too much time for login.
My server name is http2 and when I enter this address into putty I immediately get
login as:
screen, but after I put my username root and enter the cursor moves downwards... (14 Replies)
Discussion started by: abhilashkrishn
14 Replies
8. UNIX and Linux Applications
Hi,
we currently having a issue where when we send jobs to the server for the application lawson, it is taking a very long time to complete. here are the last few lines of the database log.
2012-09-18-10.35.55.707279-240 E244403536A576 LEVEL: Warning
PID : 950492 ... (1 Reply)
Discussion started by: techy1
1 Replies
9. Shell Programming and Scripting
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)
Discussion started by: mohtashims
8 Replies
10. Shell Programming and Scripting
It takes 6 hrs for a 90 GB zip file that i am copying / transferring from serverA onto serverB.
scp user1@serverA:/opt/setup/cash.zip .
Output:
cash.zip 21% 19GB 4.7MB/s 4:11:46 ETA
uname -a
SunOS serverB 5.11 11.2 sun4v sparc sun4vCan you please suggest if i could do... (11 Replies)
Discussion started by: mohtashims
11 Replies
AMQ(8) System Manager's Manual AMQ(8)
NAME
amq - automounter query tool
SYNOPSIS
amq [ -fmpsvwHTU ] [ -h hostname ] [ -l log_file ] [ -x log_options ] [ -D debug_options ] [ -P program_number ] [[ -u ] directory ... ]
DESCRIPTION
Amq provides a simple way of determining the current state of amd program. Communication is by RPC. Three modes of operation are sup-
ported by the current protocol. By default a list of mount points and auto-mounted filesystems is output. An alternative host can be
specified using the -h option.
If directory names are given, as output by default, then per-filesystem information is displayed.
OPTIONS
-f Ask the automounter to flush the internal caches and reload all the maps.
-h hostname
Specify an alternate host to query. By default the local host is used. In an HP-UX cluster, the root server is queried by default,
since that is the system on which the automounter is normally run.
-l log_file
Tell amd to use log_file as the log file name. For security reasons, this must be the same log file which amd used when started.
This option is therefore only useful to refresh amd's open file handle on the log file, so that it can be rotated and compressed via
daily cron jobs.
-m Ask the automounter to provide a list of mounted filesystems, including the number of references to each filesystem and any error
which occurred while mounting.
-p Return the process ID of the remote or locally running amd. Useful when you need to send a signal to the local amd process, and
would rather not have to search through the process table. This option is used in the ctl-amd script.
-s Ask the automounter to provide system-wide mount statistics.
-u Ask the automounter to unmount the filesystems named in directory instead of providing information about them. Unmounts are
requested, not forced. They merely cause the mounted filesystem to timeout, which will be picked up by amd's main scheduler thus
causing the normal timeout action to be taken.
-v Ask the automounter for its version information. This is a subset of the information output by amd's -v option.
-w Translate a full pathname as returned by getpwd(3) into a short Amd pathname that goes through its mount points. This option
requires that Amd is running.
-x log_options
Ask the automounter to use the logging options specified in log_options from now on.
-D log_options
Ask the automounter to use the debugging options specified in debug_options from now on.
-H Display short usage message.
-P program_number
Contact an alternate running amd that had registered itself on a different RPC program_number and apply all other operations to that
instance of the automounter. This is useful when you run multiple copies of amd, and need to manage each one separately. If not
specified, amq will use the default program number for amd, 300019. For security reasons, the only alternate program numbers amd
can use range from 300019 to 300029, inclusive.
-T Contact amd using the TCP transport only. Normally amq will try TCP, and if that failed, will try UDP.
-U Contact amd using UDP (connectionless) transport only. Normally amq will try TCP, and if that failed, will try UDP.
FILES
amq.x RPC protocol description.
CAVEATS
Amq uses a Sun registered RPC program number (300019 decimal) which may not be in the /etc/rpc database.
SEE ALSO
amd(8), ctl-amd(8), amd.conf(5).
AUTHORS
Jan-Simon Pendry <jsp@doc.ic.ac.uk>, Department of Computing, Imperial College, London, UK.
Erez Zadok <ezk@cs.columbia.edu>, Department of Computer Science, Columbia University, New York, USA.
Other authors and contributors to am-utils are listed in the AUTHORS file distributed with am-utils.
25 April 1989 AMQ(8)