01-24-2007
sometimes "ps -elf" command doesn't work
when i give "ps -elf" or "ps" system gets hung.
if i press "^c" come out from it...
pls help..what should i do to get it resolved.
thanks
CKanth
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm using the case statement in the following script and it always takes the "*" default choice while it should be "3".
I wonder why ???
dt_auj=`date +%d`
NBLOG=`ls -al /users/notes01/LOG/t*|awk '{print $7}'|grep $dt_auj|wc -l`
case $NBLOG in
1) cat ~/LOG/console-notes > $fic_tmp1 ;;
2)... (5 Replies)
Discussion started by: Nicol
5 Replies
2. UNIX for Dummies Questions & Answers
253 lab2-36:~/try_direct/another> set x=1;set y=2;@z=$x+$y
@z=1+2: Command not found.
254 lab2-36:~/try_direct/another> (11 Replies)
Discussion started by: endeavour1985
11 Replies
3. Linux
How can I configure it?
I have a swedish keyboard with swedish keyboard setting. Everything works perfectly (едц) except that button. What can be wrong?
/Richard
++
NOTE: It seems like the computer notices the input but that the button isn't assigned to anything (the keyboard-cursor stops).... (1 Reply)
Discussion started by: riwa
1 Replies
4. UNIX for Dummies Questions & Answers
totally pis*ed off.
I have a data set (xxx.txt), as follows:
chr1 3821 rs127372 A/C 0.823
chr1 3822 rs127376 A/C/G 0.899
chr1 3722 rs612634 A/C 9.22
chr1 3262 rs7152 A/T 0.22
chr1 3711 rs737 A/C/G 0.2323
.......
I only want to get those lines... (6 Replies)
Discussion started by: kaixinsjtu
6 Replies
5. Post Here to Contact Site Administrators and Moderators
Hi,
Today, I've submitted a new tread in "Shell Programming and Scripting" forum, with title "-bash: ELF: command not found ". However, this thread has disappear.
Can somebody give me an explanation?
Regards. (3 Replies)
Discussion started by: Sonia_
3 Replies
6. AIX
When I use "/" to look for a particular command that I typed in the current session it says
D02:-/home/user1/temp> /job
ksh: /job: not found.
D02:-/home/user1/temp>
previously it used to fetch all the commands which had job in it..
for example subjob, endjob, joblist etc...
may I... (7 Replies)
Discussion started by: meetzap
7 Replies
7. AIX
More issues. The "|" key doesn't work at all, either in the text terminal or in mwm (which starts fine when I do "startx").
How am I supposed to troubleshoot without a "|" key? (2 Replies)
Discussion started by: smithfarm
2 Replies
8. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
9. Shell Programming and Scripting
Working with IP addresses is a pain...
Here's my problem: I'm putting some interface information to a file:
3.185.201.2 | Tu1102
152.162.54.130 | Gi0/2.36
3.185.226.2 | Gi0/1
3.185.0.82 | Tu1
... (12 Replies)
Discussion started by: turk22
12 Replies
10. Shell Programming and Scripting
Hello, :)
I've an issue with the creation of a directory, All work without it :mad: So, below, my scripts with the debug output :
#!/bin/bash
# PATHS
HOME_BACKUP="/home/backup"
HOME_SCRIPT="/home/scripts/test/backup_server"
TARGET="/var/www"
# DATE
DATE_Ymd=$(date +%Y-%m-%d)
#... (1 Reply)
Discussion started by: Arnaudh78
1 Replies
LEARN ABOUT FREEBSD
gelf_getehdr
GELF_GETEHDR(3) BSD Library Functions Manual GELF_GETEHDR(3)
NAME
elf32_getehdr, elf64_getehdr, gelf_getehdr -- retrieve the object file header
LIBRARY
ELF Access Library (libelf, -lelf)
SYNOPSIS
#include <libelf.h>
Elf32_Ehdr *
elf32_getehdr(Elf *elf);
Elf64_Ehdr *
elf64_getehdr(Elf *elf);
#include <gelf.h>
GElf_Ehdr *
gelf_getehdr(Elf *elf, GElf_Ehdr *dst);
DESCRIPTION
These functions retrieve the ELF object file header from the ELF descriptor elf and return a translated header descriptor to their callers.
Functions elf32_getehdr() and elf64_getehdr() return a pointer to the appropriate class-specific header descriptor if it exists in the file
referenced by descriptor elf. These functions return NULL if an ELF header was not found in file elf.
Function gelf_getehdr() stores a translated copy of the header for ELF file elf into the descriptor pointed to by argument dst. It returns
argument dst if successful or NULL in case of failure.
RETURN VALUES
These functions return a pointer to a translated header descriptor if successful, or NULL on failure.
ERRORS
These functions can fail with the following errors:
[ELF_E_ARGUMENT] The argument elf was null.
[ELF_E_ARGUMENT] Argument elf was not a descriptor for an ELF file.
[ELF_E_ARGUMENT] The elf class of descriptor elf was not recognized.
[ELF_E_ARGUMENT] Argument dst was null.
[ELF_E_CLASS] The ELF class of descriptor elf did not match that of the API function being called.
[ELF_E_HEADER] ELF descriptor elf does not have an associated header.
[ELF_E_RESOURCE] An out of memory condition was detected during execution.
[ELF_E_SECTION] The ELF descriptor in argument elf did not adhere to the conventions used for extended numbering.
[ELF_E_VERSION] The ELF descriptor elf had an unsupported ELF version number.
SEE ALSO
elf(3), elf32_newehdr(3), elf64_newehdr(3), elf_flagehdr(3), elf_getident(3), gelf(3), gelf_newehdr(3), elf(5)
BSD
December 16, 2006 BSD