Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: prasperl
1,502
Posted By prasperl
Thats good..My suggestion was also on the same...
Thats good..My suggestion was also on the same logic...I guess your "$i" itself has a \n
...My suggestions

for i in `cat LDN_HOSTS_190813 | grep -i LDN | awk '{print $1}' | sort -u `
do...
1,502
Posted By prasperl
Please try the below given code in your...
Please try the below given code in your shell..just to want to see the outcome

echo "I am `whoami`!"
1,502
Posted By prasperl
Try this
for i in `cat LDN_HOSTS_190813 | grep -i LDN | awk '{print $1}' | sort -u ` do echo "$i `bpimagelist -client $i -d 08/14/2013 18:00:00 -U | egrep -vi "Expires|-" | awk ' { if($5 >...
1,024
Posted By prasperl
There is a simpler way
If you always know the extension and if it static..says extension is always xyz then you can use 'basename'

>basename abc.xyz .xyz
abc
2,680
Posted By prasperl
Getopts inside a function is not working
Hi All,

I am using geopts inside a function in shell script.

But it is doesnt seem to read the input args and I always gt empty value in o/p.

my code is ...
2,119
Posted By prasperl
Hi, I am trying to access oracle. I...
Hi,

I am trying to access oracle.

I have isntalled the DBD::Oracle.But still getting the same error.
2,119
Posted By prasperl
Perl DBI error
Hi All,
I installed DBI module in a non INC location and using it in my script via "use lib".
But it throw the below error at the "use DBI" step.
Please help
Usage:...
1,071
Posted By prasperl
Perl eval problem
Hello All,

I am trying to use perl eval in a complex code and below given is a pseudo code of my logic.

Here $result evalutes to empty.


Please help.How should I retrieve of $t where $f...
5,877
Posted By prasperl
Yes.I though of that. the constraint for me...
Yes.I though of that.

the constraint for me is that I have to print multicolour text inside the same line.

Like "The process has started but results breach threshold-failed"

If we...
5,877
Posted By prasperl
Perl - Append data to existing excel cell
Hello All,

I have the following code in PERL to write data to excel sheet.

Can someone please help me about how to append data to an exisitng cell?

For ex in the below given case,Cell 1,1...
1,752
Posted By prasperl
Yes Chubler_XL is correct..should use 'k.' ...
Yes Chubler_XL is correct..should use 'k.'


ls or*.dat | sort -t' ' -k1.3 -n
or100.dat
or9100.dat
or10000.dat

Please use code tags...
1,752
Posted By prasperl
Use sort -k through which you can specify the...
Use sort -k through which you can specify the starting and ending position of your sort criteria.

So in your case
ls or*.dat | sort -k2 -n

---------- Post updated at 03:50 AM ----------...
806
Posted By prasperl
Use sed
sed -n '2,5p' file
asd
adf
daf
adw

Please use code tags (https://www.unix.com/how-post-unix-linux-forums/167686-forum-video-tutorial-how-use-code-tags.html) next time for your code and data.
6,711
Posted By prasperl
How to create multiline csv cell through shell script?
Hi,

I have a text like the one given below

status="Observation 1"
read1="Source rows not load"
read2="Score drop"


I want to create a csv and mail it out in such a way that all three...
Forum: Red Hat 09-27-2012
1,033
Posted By prasperl
Memory conmsumption by Java server is very high on Linux compared to Soalris
Hello All,

We have a jave server running on both linux and Solaris environments.

On solaris,it consumes only 600-700MB whereas it goes upto 21G in Linux.

I am monitoring the memory...
1,662
Posted By prasperl
POCO install throwing error
All ,

I am trying to install POCO lib on Solaris server.

When I do make -s,I am getting the following error.

make: Fatal error in reader: Makefile, line 10: Unexpected end of line seen
...
11,858
Posted By prasperl
Nohup process getting killed after closing PUTTY session
I am running a process in nohup .

nohup getkeys.ksh 132 > 132.out &

When I close the putty terminal,The process is getting killed .

default_signal_handler called for signal no: 1

Is...
983
Posted By prasperl
Maintaining file currency
I have a common data folder with files like x* which is accessed by 3 unix servers.


Now each server will try to pick one file form this folder and move it to its local folder.

How to maintain...
1,079
Posted By prasperl
Sorry for my ignorance.How to find that?
Sorry for my ignorance.How to find that?
1,079
Posted By prasperl
Shared File system- lib access issue
I have a C++ binary executable installed in a file system which is shared across multiple solaris boxes.


When I start this executable from one of the boxes,I am able to start only 4 parallel...
8,887
Posted By prasperl
Are you able to access the remote server through...
Are you able to access the remote server through rsh?
2,826
Posted By prasperl
No.I am not the 'root'
No.I am not the 'root'
2,826
Posted By prasperl
Yes.I am on Solaris. Getting the below given...
Yes.I am on Solaris.

Getting the below given error

mdb: failed to open /dev/mem: Permission denied
2,826
Posted By prasperl
ZFS file system - memory monitoring
I am working on a server where the 'root' user ZFS filesystem.

Now when I do Top commands it says only 750M free .But when I count the actual memory utilized it comes only to 12 GB and the total...
2,306
Posted By prasperl
Discrepancy in finding the top memory consuming processes
When I run 'top' command,I see the following
Memory: 32G real, 12G free, 96G swap free


Though it shows as 12G free,I am not able to account for processes that consume the rest 20G.

In my...
Showing results 1 to 25 of 67

 

Featured Tech Videos

All times are GMT -4. The time now is 12:54 AM.
Unix & Linux Forums Content Copyright 1993-2021. All Rights Reserved.
Privacy Policy