Reputation
Top tag
Next privilege 75 Rep.
Set bounties
Badges
3 9
Newest
 Scholar
Impact
~16k people reached

  • 0 posts edited
  • 0 helpful flags
  • 3 votes cast
May
6
awarded  Scholar
May
6
accepted Syntax Error while running command from another hosts
May
5
asked Syntax Error while running command from another hosts
Apr
30
comment Using single command to find NIC speed
@roaima...the reason I asked in single command for my convenience...I can push this one line command to several server in a script to capture data .
Apr
30
comment Using single command to find NIC speed
I tried this way ..I know its lame ..ethtool $(ifconfig | grep -B1 -i $(nslookup uname -n|tail -2 | grep -i address|awk -F " " {'print $2'})|head -1|awk -F " " {'print $1'})| grep -i speed Speed: 10000Mb/s
Apr
30
comment Using single command to find NIC speed
lets put this way..the interface on which server IP is configured . A server can have backup interface too to take backup (lets exclude this one).
Apr
30
comment Using single command to find NIC speed
I agree..I just gave my lame idea...Could you pls give a better way . ??I should have asked " How can I determine nic speed of network interface which is a server's primary interface?"
Apr
30
comment NFS stale mountpoint error
does this error messages Stale NFS file handle visible in /var/log/messages ?
Apr
30
comment Using single command to find NIC speed
Server could have many interface eth0,eth1,eth2 or em1,em2 or em3 .Primary interface means where ip of the server is configured and I need to get its nic speed.At this moment i dont know if its configured on em2 or em3 or eth5. In one line command how to fetch nic speed of that particular interface?
Apr
30
comment Using single command to find NIC speed
but you never know if its configured on eth0 ..it can be on eth2 or even em1.It should capture values not specific to server interface name.
Apr
30
asked Using single command to find NIC speed
Apr
30
awarded  Commentator
Apr
30
comment NFS stale mountpoint error
I wanted to see how stale nfs error looks like.I have seen files timestamp going to ?---?. What error it says on df output ? Does it display stale messages or file size goes to - - - - ?
Apr
30
comment NFS stale mountpoint error
I have a task to scan all my linux server probably 100 and see if any nfs shares on them become stale nfs ? If I get to know to check stale nfs error on one hosts(quickest way), i can create a script to scan all 100 server
Apr
30
asked NFS stale mountpoint error
Apr
21
awarded  Notable Question
Jan
6
awarded  Notable Question
Aug
15
comment How to use private-key to setup password-less ssh on new machine
yes..I am using root user
Aug
15
asked How to use private-key to setup password-less ssh on new machine
Jul
22
awarded  Popular Question