Search Results

Search: Posts Made By: engineer
1,806
Posted By engineer
This is exactly what I required!!
Cool Man:)
This is exactly what I required!!
Thanks a lot!!
1,806
Posted By engineer
Determining User Consumption in solaris
Inorder to find the user memory consumption I used the command: prstat -s cpu -a -n 10
But now I want to automate it and want to write the output to a file.
How can I write the out put of user...
2,912
Posted By engineer
Nope :( Mine doesnt have those options.
Nope :( Mine doesnt have those options.
2,912
Posted By engineer
Regarding du and ll output
Hi,

I have some doubts regarding the output of "du" command.
In man page I could see that with "-k" I can get the size in Kilo bytes.
When I do ll on a file the output is in bytes.
I have...
2,257
Posted By engineer
Sorting the users logged in according to the number of processes
Is it possible to get a list of users sorted by the number of processes executed by each.
I have a HP - UX server with 2800 processes running currently.
And I want to know the number of processes...
1,431
Posted By engineer
Thanks for all your help. I knew the use of...
Thanks for all your help.

I knew the use of test and the script works but just wanted to know the reason for awk not working.
1,431
Posted By engineer
No change in the code.. But i think this server...
No change in the code..
But i think this server has some problem with the newline character ";". I tried putting "\" before ";", that too didnt work. :(
1,431
Posted By engineer
awk code not working in some HP versions
Dear all,

Some one please help in solving this awk issue in HP.
The below code was working fine in HP version B.11.11 U 9000/800 but when the same was run B.11.31 U ia64 it failed. :o.

if awk...
4,513
Posted By engineer
Thanks binlib
Thanks binlib
4,513
Posted By engineer
Multiple "echo" commands may be replaced by a...
Multiple "echo" commands may be replaced by a "here-document".
This makes the script faster.

Example:

echo "Please enter your choice:"
echo "1 - list current directory"
echo "2 -...
4,513
Posted By engineer
Sorry if I created any confusion here. I will...
Sorry if I created any confusion here. I will explain my query.

I have these similar lines of code all through my korn shell script(my_script.sh). I have many shell scripts...
4,513
Posted By engineer
"process commands" are the other lines in my...
"process commands" are the other lines in my shell script through which I complete my tasks. Its not code.
4,513
Posted By engineer
Better KSH commands
Are there any documents available for checking the execution time taken by ksh commands?

My requirement is to fine tune a set of shell scripts having lot of "echos" and "date"s.
Is there a...
2,579
Posted By engineer
Yes it worked!! :b:
Yes it worked!! :b:
2,579
Posted By engineer
This is exactly what I require. But is there...
This is exactly what I require.
But is there any way by which I can eliminate this bytes issue?
2,579
Posted By engineer
I am working in HP -UX. ---------- Post...
I am working in HP -UX.

---------- Post updated at 04:02 AM ---------- Previous update was at 03:57 AM ----------

Actually the first error was my mistake as i had a line before the delimiter.
...
2,579
Posted By engineer
Unfortunately its throwing the below error L
Unfortunately its throwing the below error L
2,579
Posted By engineer
File Spliting problem
I have a very big log file which looks like this:



I need to split this file and create files with "+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+" as the delimiter.
The file names need to be the...
3,423
Posted By engineer
Copying/Extracting from line A to line B
Can any one please help me to copy file content between particualr line numbers.
1,501
Posted By engineer
Also the output is not the required.
Also the output is

not the required.
1,501
Posted By engineer
Chris, I need to put the { by checking the...
Chris, I need to put the { by checking the presence of ")" .The content a,b can be anything..
1,501
Posted By engineer
Refining if loops using sed/awk
hi All,

I have the following two requirements:
case 1:
In a file i have the below code:

if ((a>b)) a=b;
else a = c;

by using some means i need to convert the line to the following...
Showing results 1 to 22 of 22

 
All times are GMT -4. The time now is 01:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy