02-20-2012
Use "-gt" insted of symbol ">" .
--Shirish
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Guys,
I've a problem in the "sed" command used in my shellscripts
This is the problamatic line in my shell script:
sed -e 's/${line1}/${line1_m}/g' prod_hier_1234.txt > test.txt
It doesn't do the job of replacing the string stored in variable 'line1' to 'line1_m'.
However If I replace the... (10 Replies)
Discussion started by: bhagat.singh-j
10 Replies
2. Filesystems, Disks and Memory
Hi all,
I am looking for api to get me system monitoring statictics every 5 minutes.
I am looking at the following statistics:
1. System CPU Usage
2. Process CPU Usage
3. Process Memory Usage
4. I/O Usage for a certain disk.
5. Process I/O bytes/sec utilization.
I have seen very... (2 Replies)
Discussion started by: uiqbal
2 Replies
3. UNIX for Dummies Questions & Answers
I wanna put a LDAP search command into a script and there I have the following problem.
I have these variables in a bash script
com="ldapsearch -LLL -x -W"
node=" -b 'o=me,ou=addressbook,dc=subdomain,dc=dyndns,dc=org'"
uri=" -H ldaps://subdomain.dyndns.org"
user=" -D... (2 Replies)
Discussion started by: borobudur
2 Replies
4. Shell Programming and Scripting
Hi Guru's,
I 'm trying to execute the below given script in Unix. I am having an issue with the script. The output of the script is given below:
#!/bin/bash
File_Home="/home/essftp/Risk"
cd /home/essftp/Risk
rm -f FileList
rm -f credit_risk*
file1=`ls -lt... (4 Replies)
Discussion started by: ranjith_taurean
4 Replies
5. Linux
hello,
i'm having some performance problem on one of my linux machines and i hope someone will be able to help me analyzing the problem.
machine info:
Linux fedora, cpu x 4 cores of 1.6Ghz, 8G memory, 8G swap.
i've enabled sar on my machine and created a graph using ksar utility for... (15 Replies)
Discussion started by: levic
15 Replies
6. Shell Programming and Scripting
Hi all,
Very new to shell scripting so appreciate some help!
There is a process count that I need to monitor, I have the AIX command that gives this value and I've cleaned it up with grep/awk so it only spits out the value I'm interested in:
echo "psc -i 10050 -s RELOAD_SERVICE" | tmadmin... (14 Replies)
Discussion started by: monty77
14 Replies
7. UNIX for Dummies Questions & Answers
#!/bin/sh
date=`date +%y%m%d -d"1 day ago"`
inbound_dir=/vis/logfiles/to_solmis
cp `grep -il ST~856~ $inbound_dir/*$date*` /vis/sumit/in_ASN/
echo 'SENDER,RECEIVER,DATE,TIME,ASNUMBER' > a.csv
for i in /vis/sumit/in_ASN/*
do
... (8 Replies)
Discussion started by: shrima.pratima
8 Replies
8. Shell Programming and Scripting
Hi,
I have used expr command to increment the date.
for e.g.,
case 1 :
echo $(date -d $(echo `expr 20010101 + 1`))
it returns
Tue Jan 2 00:00:00 IST 2001
case 2:
echo $(date -d $(echo `expr 20010101 - 1`))
it returns
date: invalid date `20010100'
please suggest me, how to... (3 Replies)
Discussion started by: nanthagopal
3 Replies
9. IP Networking
Dear gurus of Linux / Unix.
I have a server, which I use to monitoring traffic, the problem that I find is when I run the following command:
probe:~ # sar -n DEV 1
I see that I one second appear info in some interface and in the other second no appear, I don't know what will be the... (0 Replies)
Discussion started by: andresguillen
0 Replies
10. Infrastructure Monitoring
This morning we had an activity on our Nagios server, whereby we inserted new disks into the server, and rebooted the server.
The disk implementation failed, therefore we had to revoke the changes, and rebooted the server once again.
The server was up and running at 6:00 am this morning.... (2 Replies)
Discussion started by: anaigini45
2 Replies
Align(1x) AfterStep X11 window manager Align(1x)
NAME
Align - Afterstep Align
CONFIGURATION OPTIONS
Bottom
Align contents to the bottom of the widget.
Center
Align contents to the center of the widget. This is the same as combination of all of the Left,Right,Bottom,Top
HCenter
Horizontally align contents to the center. Same as combination of Left,Right.
HScaled
Scale contents to the width of the widget. If used in combination with LabelWidth - width of the text will be used insted of the
width of the widget.
HTiled
Tiles image to fill entire widget's width.
LabelHeight
Has to be appplied to background image of the widget - it will cause this image to be resized (tiled or scaled) to the height of the
widget's label (such as titlebar text).
LabelSize
Same as the combination of LabelWidth,LabelHeight.
LabelWidth
Has to be appplied to background image of the widget - it will cause this image to be resized (tiled or scaled) to the width of the
widget's label (such as titlebar text).
Left
Aligns image, text or block of buttons to the left of the widget.
None
FIXME: add proper description here.
Right
Aligns image, text or block of buttons to the right of the widget.
Top
Aligns image, text or block of buttons to the top of the widget.
VCenter
Vertically align contents to the center. Same as combination of Top,Bottom.
VScaled
Scale contents to the height of the widget. If used in combination with LabelHeight - height of the text will be used insted of the
height of the widget.
VTiled
Tiles image to fill entire widget's height.
Align flags specify how contents of the widget should be aligned. Each widget is divided into the grid of 8x8 cells. Each of wid-
get's visible items occupy one of the cells. Widget attempts to determine the size of each row and column, by using size of visible
elements that occupy it's cells and its align flags.
Note that some visible items ( such as icons, images, text, buttons ) may occupy same cell that affecting the size of it.
3rd Berkeley Distribution AfterStep v.2.2.11 Align(1x)