Search Results

Search: Posts Made By: chidori
4,745
Posted By chidori
Sorry, that doesn't seem to work when there no...
Sorry, that doesn't seem to work when there no "condition" tag

Something like this
/* -------------------- testjob1 -------------------- */

insert_job: testjob1 job_type: c
machine: unix...
4,745
Posted By chidori
Thanks, Whats up with NR > 1 why we are going for...
Thanks, Whats up with NR > 1 why we are going for a record greater than 1

---------- Post updated at 12:28 PM ---------- Previous update was at 12:26 PM ----------



Hey RudiC, Can you please...
4,745
Posted By chidori
That worked!!
Can you please explain the logic around here
4,745
Posted By chidori
awk to parse jil output
Hi ,

I have a jil file which i am trying to parse and print the job name and the condition corresponding to it.

Below is the input file

/* -------------------- testjob1 --------------------...
12,172
Posted By chidori
Thanks , It worked. But i am wondering , the for...
Thanks , It worked. But i am wondering , the for loop code for the same seems to be working fine.

for i in `cat inputfile`
do
ssh -q $i uname -a
done

But when i use the similar code in a...
12,172
Posted By chidori
Unable to read assign values to two variables in while loop
I am trying to read a input file which has two columns separated by space
Input file
server1 server2
server3 server4
server5 server6

When i execute the below while code it reads line by line...
2,418
Posted By chidori
Thanks for your input guys.. This is what i was...
Thanks for your input guys.. This is what i was looking out for :)
2,418
Posted By chidori
Clear specific part of the screen
I want to clear specific part of the screen. Say for example , i am running a bash script

for i in {1..100}
do
echo "Current Record = $i"
done

if i use a clear command over there , it will...
2,623
Posted By chidori
Thanks i got your explanation , but i am confused...
Thanks i got your explanation , but i am confused with awk basics,

nawk 'BEGIN{FS=":";OFS=","}{print}' file1
Should not awk make the changes of the : to , , but i see that didnt happen. So does...
2,623
Posted By chidori
It Worked!!
Wow!!! , It worked , Can you please explain the logic behind it ?
2,623
Posted By chidori
OFS does not apply to few records in awk
Hi ,

I am having a problem with my awk oneliner , which for some reason leaves the first two records

Input File
$ cat file1
A1:B1:C1:NoLimit
M1:M2:M3:Limit
A2:B2:C2,C3,C4,C5...
2,701
Posted By chidori
Oops.. Didnt realise its GNU Linux until now ....
Oops.. Didnt realise its GNU Linux until now . Sorry the oneliner would work well on Solaris but not on linux. I will see if i can figure out some oneliner for Linux :)
2,701
Posted By chidori
it should work , what OS you are using ? ...
it should work , what OS you are using ?

---------- Post updated at 07:13 AM ---------- Previous update was at 07:06 AM ----------

Try this ,

cat inputfile |xargs -n1 ping 2>&1 | awk...
2,701
Posted By chidori
One liner to do the same
cat inputfile | xargs -n1 ping 2>&1 | nawk '{if($0~/alive/){print $1" up"}else{print $1" down"}}'
Forum: Solaris 04-18-2013
16,040
Posted By chidori
pfiles $pid | nawk '/ 1:/ {print $4}' kill...
pfiles $pid | nawk '/ 1:/ {print $4}'
kill $pid;rm /tmp/.$$)'/ {onTmp=1;finfo=$0;next}

I am just confused with the kill command over there . What does it kill ?
Forum: Solaris 04-18-2013
16,040
Posted By chidori
Thanks , But i see a kill command in the script ,...
Thanks , But i see a kill command in the script , is the script going to kill the top space using process under /tmp ? Well i just want them to be listed ! I dont want to kill them as they are...
Forum: Solaris 04-17-2013
16,040
Posted By chidori
In my case , the files are consuming only 48Mb of...
In my case , the files are consuming only 48Mb of 4G , I do agree that there are lots of files under /tmp but their space utilization is all together 48Mb. Rest of the space is used by some processes...
Forum: Solaris 04-17-2013
16,040
Posted By chidori
i see lots of files owned by two users but how...
i see lots of files owned by two users but how can come to a conclusion which user and what process intiated by him is using the space
Forum: Solaris 04-17-2013
16,040
Posted By chidori
Process holding /tmp space, need to know the process details
Hi ,
In a server /tmp has almost reached 75% and i can see the File system utilization is 48Mb only , so i believe some process is using the /tmp space. I would like to know which process is using...
Forum: AIX 04-11-2013
13,448
Posted By chidori
Cannot mount file system
Hi ,

We i try to mount aix filesystem i am getting the following error

mount: 0506-324 Cannot mount /dev/fslv11 on /testdir: A system call received a parameter that is not valid.

Please help...
Forum: Solaris 03-28-2013
4,812
Posted By chidori
At last i restored the pool from backup
At last i restored the pool from backup
2,017
Posted By chidori
ok , i was able to fix that. btw. can you please...
ok , i was able to fix that. btw. can you please let me know how to process pattern that is reptitive . for example

I am setting Free Hog paritition and i have to enter the size of each partition...
2,017
Posted By chidori
Problem in sending inputs to format command using expect
Hi ,

I am not able figure out how to use expect tool to send input to this prompt of format

Searching for disks...done
selecting c0t3d0
[disk formatted]


FORMAT MENU:
disk ...
Forum: Solaris 03-26-2013
4,812
Posted By chidori
Bad exchange descriptor : not able to remove files under zpool
Hi ,

One of my zone went down and when i booted it up i could see the pool in degraded state with some check sum errors . we have brought the pool online after scrubbing. But few files are showing...
6,431
Posted By chidori
please give a try with this oneliner
nawk '{$1="";print}' input_file.txt
Showing results 1 to 25 of 215

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