I made tar file having file names more character( up to 50).
When i extract file in Linux it extracts fine.. but in HPUX all file name which are more than 24 are trimed to 24 characters.
i m using "tar -xvf xx.tar"
i read some O and N option for New posix and Old but didnt got. :confused:
... (2 Replies)
All,
I have files in directory,when i try to overwrite those files it gave operation not permitted error. I am using same group user (ina2) while overwritng this file.
Sample file :
-rw-rw-r-- 1 ina1 indev 316 Jun 06 13:44 ONCTEST.dat
Error:
cp: /proj/out/ONCTEST.dat: Operation... (4 Replies)
dd if=/dev/zero of=/var/images/abc.img bs=1M count=0 seek=2097152
dd: truncating at 2199023255552 bytes in output file `/var/images/abc.img': File too large
The dd commad fails here saying its truncating if I try same command with less value for seek it works
dd if=/dev/zero... (3 Replies)
I am trying to show out the character count of a file if greater than 500 characters. When I do the -m its show the size of the file and not the characters in the file. Where am I getting confused? Or is -c and -m the same thing? Code is below
if ;
then
echo "Char... (3 Replies)
Hi,
I am using tr command like below:
cat file_name | tr -c "" "" > output_file
When i run my script from command mode, it is working fine. I scheduled my job in autosys. When the job runs at specified I am getting below Error:
tr: when translating with complemented character... (5 Replies)
I have used the mail command from the command line for sending mail from one machine to anther machine.
Example:
mail -s "Test" thillaselvan@xxx.co.in
Testing
But the mail is not getting received.
I have checked the logs in the following file.
tail -f /var/log/exim4/mainlog
It is... (0 Replies)
Hi,
Getting the below error.
rm *.txt
bash: /usr/bin/rm: Arg list too long
I understand the error is because there are lakhs of .txt file.
Any fix ? (16 Replies)
Hi All,
I am using the below script which has awk command, but it is not returing the expected result. can some pls help me to correct the command.
The below script sample.ksh should give the result if the value of last 4 digits in the variable NM matches with the variable value DAT. The... (7 Replies)
I am on Linux LXLE.
I been trying to change directories and opens folders and files.
1. I cd /home file
2. then user (/home/teak/)
Then I try to open the Document file, wouldn't it be /home/teak/doument? . It responds not a directory. So how would I open the document file, or not... (3 Replies)
I am new to unix.I have a requirement to get few fields from the log file as below.
Log
app9/cc-gr_base.log.2017-07-19.gz: hostname 1500523166993 NA:NA:NA http-nio-8080-exec-56 INFO Points balance from MIS for user with userId: 19651069, first name: DEREK RICHARD and last name: BOUDREAU is... (3 Replies)
Discussion started by: nextStep
3 Replies
LEARN ABOUT MOJAVE
lamnodes
LAMNODES(1) LAM TOOLS LAMNODES(1)NAME
lamnodes - Resolve LAM node/CPU notation to Unix hostnames.
SYNOPSIS
lamnodes [-chin] [where]
OPTIONS -c Suppress printing the CPU count for each node.
-h Print the command help menu.
-i Print IP addresses (instead of IP names)
-n Suppress printing CPU count for each node
DESCRIPTION
The lamnodes command is used to resolve LAM node/CPU nomenclature to Unix hostnames. It can be used to determine the current running con-
figuration of the LAM/MPI run-time environment, and generate a boot schema that can be used to launch LAM in the future.
By default, lamnodes will print out the node number, default IP name, CPU count, and per-node flags for each node in the running LAM.
gethostbyaddr(3) is used to obtain default hostnames. If gethostbyaddr(3) fails, the IP number is displayed instead.
This command can be used by setup shell scripts (and the like) to determine information from a currently-running LAM universe. For exam-
ple, use lamnodes to resolve particular CPUs and/or nodes to specific unix hostnames. In a batch environment, lamnodes can be used to
determine which CPUs share a common node (note that MPI_GET_PROCESSOR_NAME can be used for a similar effect in an MPI program).
lamnodes also shows per-node flags. Currently defined flags are:
origin The node where lamboot was executed.
this_node The node where lamnodes is running.
no_schedule The node will not be used to run MPI and serial processes when N and C are used to mpirun and lamexec.
EXAMPLES
lamnodes N -n
Display IP names and CPU counts for all nodes. This output can be saved and later used with lamboot(1).
lamnodes C -n -c
Display the IP name of the nodes containing each CPU, and suppress the LAM node number and CPU count. This output can be saved and
later used with lamboot(1).
SEE ALSO bhost(5), gethostbyaddr(3), lamboot(1)LAM 7.1.4 July, 2007 LAMNODES(1)