04-18-2014
Moderator's Comments:
|
|
This thread is closed as a duplicate of another thread. In addition, please use CODE tags (not bold text) to display sample input, output, and code segments.
|
|
10 More Discussions You Might Find Interesting
1. HP-UX
I am new to HP-UX.
I have an 8GB drive that is my root drive, contained in a Volume Group.
I would like to clone that drive to another drive, which is 18.4GB. The other drive is not in a volume group.
I am using this simple command:# dd if=/dev/dsk/c0t6d0 of=/dev/dsk/c0t5d0The command... (4 Replies)
Discussion started by: emsecrist
4 Replies
2. Shell Programming and Scripting
hi all
need your help.
I am wrting a script that will load data into the table.
then on another load will append the data into the existing table.
Regards
Ankit (1 Reply)
Discussion started by: ankitgupta
1 Replies
3. Shell Programming and Scripting
We have script like this in the .bash_profile..
#-# determine if session is interactive or in background
if ]; then
while true; do
read -p "Do you wish to load profile yes or no?" yn
case $yn in
* ) source /opt/oracle/.profile; break;;
* ) break;;
*... (2 Replies)
Discussion started by: talashil
2 Replies
4. Infrastructure Monitoring
Greetings,
I've got a Zenoss v2.5 server monitoring a large video encoding farm. Needless to say, these systems are under high bandwidth and CPU utilization the majority of the time.
What I'm running into is that, occasionally, these systems will fail to respond to a standard SNMP request,... (1 Reply)
Discussion started by: Karunamon
1 Replies
5. Solaris
When i run the command sudo /usr/sbin/prtdiag manually on a solaris 10 box, it works as expected.
But the same command from my java code gives me the following error. picl_initialize failed: Daemon not responding.
I am unable to figure out why is not running from my code.:wall: (3 Replies)
Discussion started by: randeepsp
3 Replies
6. Shell Programming and Scripting
Hi guys,
i've wrote the following loop;
for i in `ls`
do
cd $i/host
cat "xxxx.txt" |grep "yyyy" >> zzzz.txt
done
I have a set of folder with different name and i need to extract a value from a file contained in the host subfolder ( that is present in each folder).
When i run... (4 Replies)
Discussion started by: cecco16
4 Replies
7. UNIX for Advanced & Expert Users
Hi all,
I am newbie to linux environment. I was trying to run an .so file manually which in turn call a method in bin folder.
Command given,
XXX_MODULES=libxxx.so /opt/servicename/bin/methodname -Le -c /opt/servicename/etc/methodname/methodname.conf -n -C -t -m ""
When i tried to execute... (1 Reply)
Discussion started by: sharathpadman
1 Replies
8. Shell Programming and Scripting
Hello Gurus,
I have written small script which will start the given service if its stop .Its running fine when manually executed but its unable to run from crontab.
#!/bin/bash
SERVICENAME=rsyslog
service $SERVICENAME status > /dev/null
SYSLOGSTATUS=`echo $?`
COUNT=0
THRESHOLD=3
if ... (4 Replies)
Discussion started by: kapil514
4 Replies
9. Shell Programming and Scripting
I can use the "module load xyz" command interactively, but when run from a script, it says it can't find the "module" command. Is there any way of loading modules in a script? (2 Replies)
Discussion started by: karan8810
2 Replies
10. Shell Programming and Scripting
If a command is not found, e.g. nawk, this is how I fix the problem
] && NAWK=/usr/bin/gawk
] && NAWK=/usr/bin/nawk
] && NAWK=/usr/bin/awkI use $NAWK an the set the appropriate value based on the system it runs.
How can I implement a similar fix for a command found but illegal argument.... (6 Replies)
Discussion started by: mohtashims
6 Replies
LEARN ABOUT OSF1
pthread_getsequence_np
pthread_getsequence_np(3) Library Functions Manual pthread_getsequence_np(3)
NAME
pthread_getsequence_np - Obtains the unique identifier for the specified thread.
LIBRARY
DECthreads POSIX 1003.1c Library (libpthread.so)
SYNOPSIS
#include <pthread.h>
unsigned long pthread_getsequence_np(
pthread_t thread);
STANDARDS
None
PARAMETERS
Thread object whose sequence number is to be obtained.
DESCRIPTION
This routine obtains and returns the DECthreads thread sequence number for the thread identified by the thread object specified in the
thread argument.
The thread sequence number provides a unique identifier for each existing thread. A thread's thread sequence number is never reused while
the thread exists, but can be reused after the thread terminates. The debugger interfaces use this sequence number to identify each thread
in commands and in display output.
The result of calling this routine is undefined if the thread argument does not specify a valid thread object.
RETURN VALUES
No errors are returned. This routine returns the DECthreads thread sequence number for the thread identified by the thread object speci-
fied in the thread argument. The result of calling this routine is undefined if the thread argument does not specify a valid thread.
ERRORS
None
RELATED INFORMATION
Functions: pthread_create(3), pthread_self(3)
Manuals: Guide to DECthreads and Programmer's Guide
delim off
pthread_getsequence_np(3)