Created by: dheule
Bugfix merged, so I can close this bug
Created by: telmich
Hey lloyd,
I think this will break with hyperthreading:
[13:10] artist:~% grep "core id" /proc/cpuinfo core id : 0 core id : 0 core id : 1 core id : 1
[on…
Created by: dheule
Hello lloyd,
seems that amazone ec2 has some courious cpu architecture. Normaly on linux, the "core id" is only the same if hyperthreads are connected to the same physical…
Created by: dheule
Hello Nico,
My intention to cpu_cores was and is to reflect the real physical cores (without hyperthreading for example).
What about to make an additional explorer for example…
Created by: telmich
Good point, dheule.
@lloyd what do you think about using your suggest version and create a new global explorer "cpu_cores_all" that includes cores based on hyperthreading?
Created by: tpo
asteven wrote:
documentation added in e5a1280 seems to be wrong
e.g. the first sentence below is simply wrong:
This also means that the "__link" command must make…
Created by: telmich
Another thing: I see you are parsing zypper lr output; I guess it would be easier to not parse it like this, but use:
zypper repos nginx
Alias : nginx
Name …
Created by: dheule
Hello Nico.
I will have a look at this after my holidays. (24.6.)
Regards Daniel
Another thing: I see you are parsing zypper lr output; I guess it would be easier to not…
Created by: telmich
Hey Daniel,
thanks for the notice and enjoy your holidays!
Nico
dheule [Tue, Jun 10, 2014 at 01:40:27PM -0700]:
Hello Nico.
I will have a look at this …
Created by: dheule
Hello Nico, i was unable to reproduce your problem. For me on SLES11 SP3 the explorer retrives correctly the repo_id which is a number and not a name. The repo_id is allways…
Created by: telmich
Hey Daniel,
I had the problem on SLES 11. Particulary I saw that the grep -E did not match the URL. The way I currently fixed it is like this:
[14:33] artist:cdist% git…
Created by: dheule
Hmm ,,, this error was not so simple.
The grep -E "" matches the beginning of a word (<) then the STRING and then the end of a word (>). This works as long as not a /…
Created by: telmich
I've found the problem:
lrwx------ 1 nico nico 64 Dec 9 19:38 365 -> /home/users/nico/.tmp/tmpw4oy7mfi.cdist_message_in (deleted) lrwx------ 1 nico nico 64 Dec 9 19:38 366…
Created by: telmich
Code:
awk -v prefix="$prefix" -v suffix="$suffix" '{ if (index($0,prefix)) { triggered=1 } if (triggered) { if (index($0,suffix)) { …
Created by: telmich
maybe match() is a better choice:
Returns either the position in s where the regular expression r begins, or 0 if no occurrences are found. Sets the values of RSTART and…
Created by: telmich
[15:39] artist:cdist% cat ~/test abc abc-def
[15:39] artist:cdist% awk '{ if(index($0, "abc")) print("ok") }' < ~/test ok ok
[15:39] artist:cdist% awk '{ if(match($0,…