Search Results

Search: Posts Made By: chercheur111
2,417
Posted By Neo
You can install from the source on GIT: ...
You can install from the source on GIT:

https://www.tensorflow.org/install/install_sources

git clone https://github.com/tensorflow/tensorflow

etc etc.

Step-by-step.
1,389
Posted By Don Cragun
You said you want the MTBF for each node. The...
You said you want the MTBF for each node. The node 127.0.0.1 was always down (for all three times it appeared in the data in post #4 and for both times it appeared in the data in post #1).

If a...
1,389
Posted By Chubler_XL
How about this: awk ' { for(i= 1; i<...
How about this:

awk '
{
for(i= 1; i< NF - 1; i+=3) {
now=$i
split($i, tm, ":")
now=tm[1]*3600+tm[2]*60+tm[3]
status=$(i+1)
host=$(i+2)
if(lastTime[host])
...
1,124
Posted By MadeInGermany
ps -e -o pid,user,rss,vsz,args The RSS and VSZ...
ps -e -o pid,user,rss,vsz,args
The RSS and VSZ columns are memory usage in kilobytes.
RSS is memory resident in RAM,
VSZ is virtual memory including reserved and swapped-out.
You can easily grep...
967
Posted By zaxxon
Maybe check the official site or join their...
Maybe check the official site or join their mailing list and ask there:
rsync (https://rsync.samba.org/)
1,633
Posted By RavinderSingh13
Hello chercheur111, Could you please try...
Hello chercheur111,

Could you please try following and let me know if this helps you.

awk -F"=" '{SUM=SUM?SUM+$NF:$NF} END{print "SUM = "SUM}' Input_file
Output will be as follows.

SUM =...
1,834
Posted By RudiC
{ read A; read B; printf "%s\n" $A $B; sort -r; }...
{ read A; read B; printf "%s\n" $A $B; sort -r; } < file | awk -F\. '!T[$1,$2,$3]++'
filename
-------------------------------------------------------
/tmp/g-9.n.gggg1000.fr-worker1.V.3.tar.bz2
...
1,834
Posted By RudiC
Then, invert the logics!
Then, invert the logics!
1,834
Posted By RudiC
In post#2, remove the exclamation mark in front...
In post#2, remove the exclamation mark in front of the T array.
2,481
Posted By RavinderSingh13
Hello chercheur111, Could you please try to...
Hello chercheur111,

Could you please try to escape character $ as follows and let me know if this helps.

iphost="$(ssh root@$machine -x "host $machine | awk '/has address/ { print \$4 }'")"...
3,242
Posted By RavinderSingh13
Hello All, We should be little careful with...
Hello All,

We should be little careful with command hostname as if by mistakenly(eg-> hostname NEW_NAME) we have given something like typo etc with it then it will set the hostname of the system...
3,242
Posted By vgersh99
host 72.21.206.6 | awk '{print...
host 72.21.206.6 | awk '{print substr($NF,1,length($NF)-1)}'
3,242
Posted By RudiC
How about host 72.21.206.6 | awk '{print $NF}'
How about host 72.21.206.6 | awk '{print $NF}'
7,774
Posted By Scrutinizer
Then have a look at that shell script and see if...
Then have a look at that shell script and see if it explicitly inserts them into the output.
Or... if that shell script itself uses another input file that happens to contain carriage returns,...
7,774
Posted By Scrutinizer
There are probably carriage return (windows)...
There are probably carriage return (windows) characters in your input file.
Convert your file to UNIX format first:

tr -d '\r' < MyFile.txt > MyNewFile.txt
4,608
Posted By Don Cragun
In post #3 in this thread, I suggested simple,...
In post #3 in this thread, I suggested simple, clear shell, sed and awk scripts that did exactly what was requested. Since then there have been several proposals that, although they work with the...
4,608
Posted By Don Cragun
And, with any POSIX-conforming shell (e.g., ash,...
And, with any POSIX-conforming shell (e.g., ash, bash, dash, ksh, etc.) you could use:
while read -r input
do echo "${input%.fr.*}"
done<file
or with sed:
sed 's/[.]fr[.].*//' file
or with awk:...
4,608
Posted By sea
Hi, if its bash, this should work fine: while...
Hi, if its bash, this should work fine:
while read input
do echo "${input/.fr.*}"
done<file

Prints:
g-82.text.text1
g-xx.yyyyyy.zzzz


hth

EDIT:
And to illustrate the substitution:...
1,558
Posted By vbe
I wonder if it not something to do with your...
I wonder if it not something to do with your environment...
like not having JAVA_HOME set...
A good way of testing is to try to stra cassandra using cron on the remote, if it doesnt work then sure...
1,901
Posted By RudiC
Even if not defined, address2 would overwrite the...
Even if not defined, address2 would overwrite the file - with nothing.

---------- Post updated at 10:17 ---------- Previous update was at 10:16 ----------

Emphasize: append
1,901
Posted By jgt
In line 3: you do not need quotes around the file...
In line 3: you do not need quotes around the file name.
In line 5: address2 is not defined. and again the file name does not need to be in quotes. If address2 had been defined, it would erase the...
1,901
Posted By RudiC
A non-existent file will be created upon...
A non-existent file will be created upon redirection, i.e. both the operators > and >> will open a "fresh" file for output. Be aware that >> will append to an existing file.

touch filename...
Forum: Ubuntu 05-30-2015
3,659
Posted By Peasant
Try dpkg -l | grep "libatlas-base-dev" ...
Try

dpkg -l | grep "libatlas-base-dev"


Hope that helps
Regards
Peasant.
Forum: IP Networking 02-17-2015
1,975
Posted By blackrageous
There really isn't a concept such a remote...
There really isn't a concept such a remote browser. If you are in a browser you are local (unless you are launch a browser from a machine and shoot the display to a different machine like in X...
Forum: IP Networking 02-17-2015
1,975
Posted By DGPickett
Yiou can tunnel the local browser to the remote...
Yiou can tunnel the local browser to the remote host, too, usung ssh.
Showing results 1 to 25 of 36

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