Oracle Solaris Networking (MOSC)

MOSC Banner

[dladm show-dev -s -i <interval> <device>] Can not output logs

edited Jul 23, 2012 8:19PM in Oracle Solaris Networking (MOSC) 3 commentsAnswered
Hello
I am trying to get Network throughput logfile using shell script(/bin/sh)
  [dladm  show-dev -s -i <interval> <device>] command

My system is
SunOS hostname 5.10 Generic_127128-11 i86pc i386 i86pc

----------------------------------------------
<shell script abstract>
for i in ${NIC}
do
  dladm show-dev -s -i ${INTERVAL} ${i} >>${LOG_DIR}/dladm_${i}_${DATE}.log &
done
---------------------------------------------

 This command was derived from an article in the Oracle Blog.(Japanese Site)
 https://blogs.oracle.com/yappri/entry/network_analysis


Case of
 command interval ${INTERVAL}= 1 second is All right

But the other cases
 command interval ${INTERVAL}> 1 seconds are not working...

Please tell me how to get logs of dladm command.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center