07-16-2008
Anyone know what if [ -z "${DTS}" ] ; then means
Does anyone know what the followig if expression means
if [ -z "${DTS}" ] ; then
What is DTS
What is -z
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I am chasing an issue where I see drop packets, in order to dig the problem further I issue netstat -s -P tcp command which shows me the stats from the tcp perspective. In that stats I see a counter which is "tcpTimRetrans" which increments along with "tcpRetransSegs".
When both of these counter... (3 Replies)
Discussion started by: purechgo
3 Replies
2. UNIX for Dummies Questions & Answers
I'm using Red Hat 9.0, the kernel is 2.4.20-8,
I want to update the kernel ,
go to www.kernel.org and then download the linux-2.4.37.7.tar.bz2
to /root
# ll
total 88576
-rw-r--r-- 1 root root 1057 Dec 1 03:23 anaconda-ks.cfg
-rw-r--r-- 1 root root 13205 Dec ... (1 Reply)
Discussion started by: cqlouis
1 Replies
3. Shell Programming and Scripting
Hi
I am trying to figure out what the following line does, I work in ksh88:
] && LIST="$big $LIST"
Not sure what "-a" means in that case.
Thanks a lot for any advice -A (1 Reply)
Discussion started by: aoussenko
1 Replies
4. 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
5. What is on Your Mind?
Ok so I have searched google pretty exstensively to find this out, no luck so far . . .
Basically I wanted to know what "Eris Free" means, from the acronym EFNET.
I was thinking that Eris is generally to do with discordianism, but have so far only found it as a reference to... (2 Replies)
Discussion started by: U_C_Dispatj
2 Replies
6. UNIX for Advanced & Expert Users
I have seen something like this in a perl code:
$_ =~ s/__FD_PRN_/\\(/g
What does this "__FD_PRN_" means. I have searched google but was not able to find any info regarding this. Appreciate if some one can refer to a link for these characters. From comments/code it used to substitue "(" with... (3 Replies)
Discussion started by: sarbjit
3 Replies
7. Solaris
Team,
I would like to know, if we have any command in Solaris to verify, if some process is listening on a port on a set of machines.
for eg: Wrote the below script, and found that when a process is listening on that port, then it just waits there and doesnt come out. Rather, I would like... (6 Replies)
Discussion started by: msgforsunil
6 Replies
8. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
9. UNIX for Beginners Questions & Answers
Cannot present unpresented disks back again. On a test server tried this as a solution "multipath -r" and it worked. Too worried to try it in production before I know all the information.
Any info would be appreciated!
Also some links to the documentation on this specific issue could help a... (1 Reply)
Discussion started by: jsteppe
1 Replies
LEARN ABOUT HPUX
dts_intro
dts_intro(1m) dts_intro(1m)
NAME
dts_intro - Introduction to the DCE DTS commands
DESCRIPTION
The DCE Distributed Time Service (DTS) provides the following facilities: The dtsd daemon The DTS control program (dtscp) The DTS local
clock setting program (dtsdate)
The DTS is implemented in the dtsd process. Both clerks and servers use the same daemon. The behavior of the dtsd daemon is determined by
the dtscp command.
The dtscp control program allows you to synchronize, adjust, and maintain the system clocks in a distributed network. The DTS control pro-
gram commands are listed below: The advertise command, which configures the DTS server as a global server The change command, which modi-
fies the epoch and sets the local time to a new time The create command, which establishes a DTS entity (a clerk or server) The delete com-
mand, which causes DTS to exit on the local node The disable command, which suspends a DTS entity The enable command, which starts a DTS
entity The exit command, which ends the dtscp management session and returns you to the system prompt The help command which invokes the
dtscp help service. The quit command, which ends the dtscp management session and returns you to the system prompt The set command, which
modifies characteristics of a DTS entity The show command, which displays characteristics of a DTS entity The synchronize command, which
synchronizes the system clock with the time obtained from DTS servers in the network The unadvertise command, which removes the global
server entry The update command, which gradually adjusts the system clock to a new time
For more information on any of the above dtscp commands, see the appropriate reference page in this chapter.
The dtsd command restarts the DTS daemon (clerk or server process). When the host system is rebooted, this command is automatically exe-
cuted as part of the overall DCE configuration procedure. For more information, see the dtsd reference page in this chapter.
Invocation of dtsd leaves it in an idle state. In order for it to assume an identity, it must be ``created'' with the dtscp create command.
After the DTS entity is created, it is still in a non-functioning state. To put it into operation, you must invoke dtscp enable, which
causes an immediate synchronization to take place. For more information, see the enable reference page in this chapter.
To bring down a DTS entity, you must first stop it with dtscp disable and then delete it with dtscp delete. For more information, see the
disable and delete reference pages in this chapter.
The dtsdate command sets the local clock of a system to be the same as the host remote_host, running a dtsd server. For more information
see the tsdate reference page in this chapter.
RELATED INFORMATION
Command: dtscp(1m) dtsdate(1m)
Books: DCE Administration Guide, DCE Administration Reference
dts_intro(1m)