10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
This bit of code works fine:
egrep -i '^rmcat' /etc/oratab |\
awk -F\: '{print $1}'|\
while read ORACLE_SID
do
But when I modified it, thus:
egrep -v '^#' /etc/oratab |egrep -v '^$' | egrep -v '^listener' \
awk -F\: '{print $1}'|\
while read ORACLE_SID
do (3 Replies)
Discussion started by: edstevens
3 Replies
2. Shell Programming and Scripting
hi gurus,
I need a example. I am looking for a source code. where I got the keyword "altria_fetch" and also the keyword is present in the file ".pc" files. and it is present in the directory /fast folder. Inside fast there are lot of sub directories present on it. I am not sure how to reach... (8 Replies)
Discussion started by: ramkumar15
8 Replies
3. UNIX for Dummies Questions & Answers
Hi guys,
I have a question. In the passwd file, user johndoe has a GID of 100 which is the group named users in the group file. But if you check the group file, johndoe is not listed under GID 100, but under GID 33, which is the group named videos. Under what group does johndoe really belong,... (1 Reply)
Discussion started by: goldenlight1814
1 Replies
4. Solaris
Hi All,
I ran parallel 80 Commands as below,
#################################3
PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP
23677 root 1040K 856K sleep 58 0 0:04.04 0.7% find/1
23700 root 1040K 856K sleep 58 0 0:03.59 0.6% find/1
... (4 Replies)
Discussion started by: ajaincv
4 Replies
5. Shell Programming and Scripting
I have one parent directory and within that parent directory there are several other sub-directories and within those sub-directories there are several other "large number" of sub-directories.
All the sub directories have a shell script in them with a common file name execute_command.sh I want... (4 Replies)
Discussion started by: shoaibjameel123
4 Replies
6. Shell Programming and Scripting
Hi,
I am stuck into a situation where i want to execute a command in my shell script well along with a previous command in order to achieve something but i am not figuring out a way.
here is a snippet:
service management restart
rm -rf lock.file
in the above, if you see, i am trying to... (5 Replies)
Discussion started by: sunrexstar
5 Replies
7. Solaris
I am using gcc3.3.5 on solaris2.7. Its a 64 bit compilation
I am compiling a file 'plugin.cpp'. It includes mach.h and the complation gives the following error.
-----------------------------------------------------------------
mach.h error: conflicting
types for `typedef vx_u32_t... (0 Replies)
Discussion started by: amitc
0 Replies
8. HP-UX
my pragram runs with 3 threads, 2 work threads, one main thread. the 2 work threads run with the same mode and the same code. but now, one of the work thread can't work, and it uses the cpu more than 80%, sometimes uses 100% cpu resource. the another work thread work well.
when I viewed the HP... (2 Replies)
Discussion started by: happylife365
2 Replies
9. Shell Programming and Scripting
Hi,
please can someone point me in the right direction with a shell scripting problem.
I want to execute a command in a for loop and the command should be started not one-by-one meaning the for loop is waiting for the exit code , it should be started in parallel.
I have a plain text file... (3 Replies)
Discussion started by: networkfre@k
3 Replies
10. UNIX for Dummies Questions & Answers
I am new to this unix thing. I have a macintosh with os X and want to learn how to use the unix terminal. What do I need to get started? Does anyone know some good command lines to get started with? Can I use the terminal to check email and get on the internet etc.....?:( (3 Replies)
Discussion started by: JCWorkman
3 Replies