Search Results

Search: Posts Made By: Tobbev
2,301
Posted By Tobbev
Rudic, thanks a million. The reason for...
Rudic, thanks a million.

The reason for using the hsgen part like it is, is that I need redirection to a file.

Thanks again!

Tobbe

---------- Post updated at 06:32 AM ---------- Previous...
2,301
Posted By Tobbev
Thanks a lot for that, workes great when I try it...
Thanks a lot for that, workes great when I try it out. However, I have some troubles invoking it in my script.

I have the following:


read -p " Blades?: " blades

blstr=seq 1 14|paste...
2,301
Posted By Tobbev
Hi Yes, only integers, 1-14, and separated...
Hi

Yes, only integers, 1-14, and separated with space

Tobbe
2,301
Posted By Tobbev
String generation from user input
Hi

I have one thing I need advice on, and I don't know where to start so I have no sample code.

I want the user to provide input like: 1-3,6,7,9-11

When the input is like this, I want a...
2,699
Posted By Tobbev
Thanks a lot guys for the help! Now my script...
Thanks a lot guys for the help! Now my script works as it should.

You are awesome!
Tobbe
2,699
Posted By Tobbev
Hi This is the output from $blinfo2 ...
Hi

This is the output from $blinfo2


Linux 3.0.13-0.27-default (gotc101) 01/10/12 _x86_64_ 09:26:00 CPU %usr %nice %sys %iowait %irq %soft %steal %guest %idle 09:26:00 all 8.23 0.00 0.92 0.01...
2,699
Posted By Tobbev
Thanks for that, but maybe I should have been...
Thanks for that, but maybe I should have been more clear by including the real line:


cpuarray$i+=$(echo $blinfo2 | awk '{for(j=38;j<=203;j+=11) print $j}')


Basically, every 11'th value in...
2,699
Posted By Tobbev
Assign variable name through loop
Hi

As bash does not support multidimensional arrays (?), I need some help with a problem. What I want to do is to assign variable names containing a counter in a loop .

what I want to do is...
942
Posted By Tobbev
I tried, but sadly it made no difference.. ...
I tried, but sadly it made no difference..

Tobbe

---------- Post updated at 01:56 AM ---------- Previous update was at 01:53 AM ----------

When I run the script, I log in to gotc101 and then...
942
Posted By Tobbev
executing top on several computers
Hi

I'm waiting for the IT department to install Ganglia, and until that happens, I need to know the current load on 14 computers.

To do this, I'm trying to write a small script that output the...
1,247
Posted By Tobbev
Hi Thanks both of you again for your...
Hi

Thanks both of you again for your efforts. Now it works great!

Tobbe
1,247
Posted By Tobbev
Hi again Thanks a million for your input....
Hi again

Thanks a million for your input. And no, its not for school, I finished that 10 years ago.

I'm not used to scripting like this, that's the sad truth.

I realized that I need to alter...
1,247
Posted By Tobbev
Creating textfile from arguments
Hi all

I'm new to this forum and I really hope someone can help me out with a (for you guys) fairly easy question.

I want to have a script that takes 1-14 arguments, all numbers 1-14, say
...
Showing results 1 to 13 of 13

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