02-11-2013
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I cannot seem to get this text file to format. Its as if the awk statement is being treated as a simple cat command.
I manned awk and it was very confusing. I viewed previous posts on this board and I got the same results as with the
the awk command statement shown here. Please help.
... (6 Replies)
Discussion started by: tekline
6 Replies
2. Shell Programming and Scripting
Hi all
i have 2 input files
1st file is
N1 | N2|N3|N4|N5|N6|N7|N8|N9
4041491000|245160|1|0|0|1|0|0|0
4041401505|152178|1|1|1|1|0|0|0
4041450004|014052|1|1|1|1|0|0|0
4041450005|580916|1|1|1|1|0|0|0
4041491000|230990|1|0|1|1|0|0|0
4041460001|338317|1|1|1|1|0|0|0
2nd file
N1 |... (8 Replies)
Discussion started by: dodasajan
8 Replies
3. Shell Programming and Scripting
Hi All,
Can any one solve this prob.
Im sending a textfile content as a mail body while sending a mail using shell script.
But, that textfile content is a unic command output.
So, in mail, im not getting the correct alignment as in textfile.
What may be the reason behind this.
Can... (1 Reply)
Discussion started by: suman_dba1
1 Replies
4. Shell Programming and Scripting
Hi
I have the following output
Message man amm (9196) is calling
Hello & Alert man amtrr (9197) is stopped
Find amfi (19198) is cancelled
Engine Item aea (19203) is notified
Engine Item2 aea2 ... (8 Replies)
Discussion started by: PrasannaKS
8 Replies
5. Shell Programming and Scripting
Hi,
I have a string in log file from that i need to pick the username.
the string is like this--
pid 2172 tid 3124: 160: 10110847: userName :
pid 2172 tid 3124: 160: 10110847: userName :
pid 2172 tid 3124: 160: 10110847: userName :
pid 2172 tid 3124: 160: 10110847: userName :
pid... (5 Replies)
Discussion started by: namishtiwari
5 Replies
6. Shell Programming and Scripting
Hi freinds,
My problem is I have a script which is used for our office work...
in that with my userid i can append the LOGFILE with the output which i get while running the script..
for this i use the below command
output >> $LOGFILE
but with the same script my colleague is... (6 Replies)
Discussion started by: smarty86
6 Replies
7. UNIX for Dummies Questions & Answers
How can i make a script to add text before the first word on a line in a textfile :
Example:
Old line:
is my place
New line:
this is my place
Please use and tags when posting code, data or logs etc. to preserve formatting and enhance readability, thanks. (3 Replies)
Discussion started by: mjanssen
3 Replies
8. Shell Programming and Scripting
Below script perfectly works, giving below mail output. BUT, I want to make the script mail only if there are any D-Defined/T-Transition/B-Broken State WPARs and also to copy the output generated during monitoring to a temporary log file, which gets cleaned up every week. Need suggestions.
... (4 Replies)
Discussion started by: aix_admin_007
4 Replies
9. Ubuntu
Hello,
If i run the following script from the cmdline it works just fine however if i run it via root cronjob it doesn't write to the file at all. It is chmod 777 now so shouldnt be any right issues.
Shellscript looks like this:
/usr/bin/top -b -n 1 -u nagios >> /var/log/test.log
Cronjob... (7 Replies)
Discussion started by: heady89
7 Replies
10. Shell Programming and Scripting
My first post, so don't kill me :)
Say i open some textfile with some example like this.
on the table are handy, bread and wine
Now i know exactly what is in and i want to separate and sorted it in terminal to an existing file with another 2 existing lines in like this:
table
plane ... (3 Replies)
Discussion started by: schwatter
3 Replies
Xserver(1) General Commands Manual Xserver(1)
NAME
X - X Window System display server dispatcher
SYNOPSIS
X [ option ...]
DESCRIPTION
:
Hewlett-Packard supports two X servers on HP-UX platforms, the Xhp X server which supports HP VISUALIZE graphics devices and the Xf86 X
server which supports all other graphics devices. These X servers are delivered as /usr/bin/X11/Xhp and /usr/bin/X11/Xf86.
The X dispatcher determines which X server to launch based on the available graphics devices. The control file /etc/X11/Xstart can provide
additional guidance to the X dispatcher. The control file allows the user to specify which X server to start for given display connection
numbers. The only X servers supported by the X dispatcher are Xhp, Xf86 and Xvfb. If no Xstart file exists, the dispatcher loads the
appropriate X server for the graphics device in the system. HP-UX does not deliver the /etc/X11/Xstart file. This file can be created by
using the SAM/SMH utility.
OPTIONS
If the X dispatcher is invoked with no arguments, the display connection is assumed to be :0. The X dispatcher checks for display connec-
tion options and, if found, uses that display connection number when it checks the Xstart file. All other options are passed on to the X
server when it is started and it is the X server's responsibility to validate these options. Not all options may be supported on both X
servers; refer to Xhp(1) and Xf86(1) to verify supported options for each X server.
RETURN VALUE
None
Xstart EXAMPLES
The control file syntax is the X server to start followed by the display connection number. Valid entries take the form of:
Xhp :0 Start the Xhp X server on display connection 0
Xf86 :10 Start the Xf86 X server on display 10
/usr/bin/X11/Xhp :5 Start the Xhp X server on display connection 5
/usr/bin/X11/Xvfb :7 Start the X Virtual Framebuffer server on display connection 7
FILES
/etc/X11/Xstart Dispatcher control file.
/var/X11/Xserver/logs/Xstartup.N.log X dispatcher log file for display N.
SEE ALSO
X(1), Xhp(1), Xf86(1)
STANDARDS CONFORMANCE
See the appropriate section in Xhp(1) or Xf86(1).
Xserver(1)