9 More Discussions You Might Find Interesting
1. 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
2. Shell Programming and Scripting
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
3. 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
4. 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
5. 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
6. 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
7. Linux
Hi,
I am trying to login using ssh on Red Hat Linux 5 server,
The password appears immediately but after I enter the password it takes about 90 seconds to login completely.
Please suggest what changes require?
Regards,
Manoj (4 Replies)
Discussion started by: manoj.solaris
4 Replies
8. 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
9. 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
modload(2) System Calls Manual modload(2)
NAME
modload - load kernel modules on demand
SYNOPSIS
DESCRIPTION
allows processes with appropriate privilege to demand-load a kernel module into the running kernel. The module must be of a supported type
and must have been registered via kcmodule(1M) before it can be loaded.
The module to be loaded is specified by pathname. pathname may be either a module name or an absolute path name. If pathname is a module
name, a list of directories specified by modpath is searched for a match. If pathname is absolute, only pathname is used to access the
object file. The file must be an ELF64 relocatable object file.
Notes
is currently implemented as a macro.
Security Restrictions
is restricted to superuser processes and privileged processes. A privileged process requires the privilege to execute the system call.
See privileges(5), for more information about the privilege.
RETURN VALUE
On successful completion, returns a module identifier that can be passed to or On failure it returns -1 and sets to identify the error.
ERRORS
fails if one or more of the following are true:
A component of pathname denies search permission.
The file named by
pathname does not exist.
The module being loaded is not currently registered.
The file named by
pathname is not appropriately pre-configured or has invalid dependency on other modules.
The caller is not a superuser process or a privileged process.
A relocation error occurred during the attempt to load the module,
or the module references symbols not defined in the running kernel, or the module references symbols in another loadable mod-
ule but it did not declare its dependence on this module in its module metadata.
pathname
is more than characters long.
The module wrapper has an incorrect version number.
The Dynamically Loadable Kernel Module feature is not initialized.
SEE ALSO
kcmodule(1M), modstat(2), moduload(2), privileges(5).
modload(2)