I am trying to set an interface to 100/Full, but the command I use are getting rejected. I think it is the last argument, but I don't know how to find the correct values.
I am trying to use the following script, but change hme to le .
echo "Setting hme interface 1: 100mb/full-duplex..."
... (2 Replies)
Hi Guys,
I need help with ndd.
I was going through network FAQ but i have more questions then answers regarding ndd.
#ndd -set /dev/hme instance 0
#ndd -set /dev/hme adv_100fdx_cap 1
#ndd -set /dev/hme adv_100hdx_cap 0
#ndd -set /dev/hme adv_10fdx_cap 0
#ndd -set /dev/hme adv_10hdx_cap 0... (2 Replies)
Hello Gurus
I would like to know more about ndd commands related to ethernet(NIC) like how to set link_status, link_speed & link_mode as I know how to check these value. And I also would like to know how to make these setting permanents after reboot as I know that these setting will vanish... (5 Replies)
Hi,
I would like to know whether there is any config file that i can refer to for the result of 'ndd -get /dev/tcp tcp_time_wait_interval'?
When i man 'ndd', there is one statement which is -> Each driver chooses which parameters to make visible using ndd. Does it answering my question above... (3 Replies)
Solaris 10 server (SunOS 5.10 Generic_137137_09)
I have a services file configured in /etc in there windows clients connect to my server on port 6034-6037
when I do the following
netstat | grep TestServices
it pulls all the connections active for those ports
so right now I have 10 clients... (3 Replies)
Following command was set up in startup script on Solaris 8 servers - improved network transfers of files from one server to the another (doubled transfer speed).
ndd -set /dev/tcp tcp_host_param '10.140.20.10 sendspace 279600 recvspace 279600 timestamp 1'
Now they are getting a new server... (15 Replies)
Hello,
I recently upgraded our system from Solaris 8 to 10. It seems couple of binaries crashed in the new server Solaris 10. Before digging too much on it , from theory it sounds like any binary that is built on Solaris 8 (using gmake) is supposed to be compatible with Solaris 10 , right ?
... (1 Reply)
Hi,
I'm having issues with sendmail when I try to send host to host mail. I've had to change the "my official domain name" line to mycompany.com to get the mails through the external spam filter, when a mail was sent with hostname.mycompany.com it was blocked. I had to change the Dj macro... (0 Replies)
Hi,
Recently, I had to disable autoneg in one of my servers having ixgbe1 interface. While using below command I got "Permission denied" error:
ndd -set /dev/ixgbe1 adv_autoneg_cap 0
On investigating further I found that adv_autoneg_cap is showing as read-only parameter. Although it is... (1 Reply)
Discussion started by: rochitsharma
1 Replies
LEARN ABOUT REDHAT
lsdiff
LSDIFF(1)LSDIFF(1)NAME
lsdiff - show which files are modified by a patch
SYNOPSIS
lsdiff [-n] [-p n] [--strip=n] [--addprefix=PREFIX] [-s]
[-i PATTERN] [-x PATTERN] [-v] [file...]
lsdiff {--help | --version | --filter ... | --grep ...}
DESCRIPTION
List the files modified by a patch.
You can use both unified and context format diffs with this program.
OPTIONS -n Display the line number that each patch begins at. If verbose output is requested, each hunk of each patch is listed as well.
For each file that is modified, a line is generated containing the line number of the beginning of the patch, followed by a Tab
character, followed by the name of the file that is modified. If -v is given, following each of these lines will be one line for
each hunk, consisting of a Tab character, the line number that the hunk begins at, another Tab character, the string ``Hunk #'', and
the hunk number (starting at 1).
-p n When matching, ignore the first n components of the pathname.
--strip=n
Remove the first n components of the pathname before displaying it.
--addprefix=PREFIX
Prefix the pathname with PREFIX before displaying it.
-s Show file additions, modifications and removals. A file addition is indicated by a ``+'', a removal by a ``-'', and a modification
by a ``!''.
-i PATTERN
Include only files matching PATTERN.
-x PATTERN
Exclude files matching PATTERN.
-v Verbose output.
--help Display a short usage message.
--version
Display the version number of lsdiff.
--filter
Behave like filterdiff(1) instead.
--grep Behave like grepdiff(1) instead.
SEE ALSO filterdiff(1), grepdiff(1)EXAMPLES
To sort the order of touched files in a patch, you can use:
lsdiff patch | sort -u |
xargs -rn1 filterdiff patch -i
To show only added files in a patch:
lsdiff -s patch | grep '^+' |
cut -c2- | xargs -rn1 filterdiff patch -i
To show the headers of all file hunks:
lsdiff -n patch | (while read n file
do sed -ne "$n,$(($n+1))p" patch
done)
AUTHOR
Tim Waugh <twaugh@redhat.com>.
patchutils 13 May 2002 LSDIFF(1)