- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- no output displayed while running ndd command.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2015 04:09 AM - last edited on 03-05-2015 07:18 PM by Maiko-I
03-04-2015 04:09 AM - last edited on 03-05-2015 07:18 PM by Maiko-I
no output displayed while running ndd command.
Hi,
When I run below command
netstat -an | grep -i portno
I got some status which are in fin_wait state.
Now I want to kill those in fin_wait status.
When I check with below command,no ouput is displayed.
#ndd -get /dev/tcp tcp_status | grep [ip address]
I too checked with
#ndd -get /dev/tcp tcp_status | grep [port no]
ndd -get /dev/tcp tcp_status | grep -i fin_wait
ndd -get /dev/tcp tcp_status |grep -e state -e FIN_WAIT | awk '{print $1}'
I don't recieve any output to disconnect the fin_wait session.
Regards
Madhu
P.S. This thread has been moved from HP-UX > System Administration to HP-UX > networking. - Hp Forum Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2015 06:51 AM
03-04-2015 06:51 AM
Re: no output displayed while running ndd command.
What do you see when run 'ndd get /dev/tcp tcp_status' by itself without any of your greps? Do you see what you're looking for?
If you are searching for IP addresses, you wi ll likely have to make sure all IP octets are 3 digits (pad with zeros if needed) like 100.005.025.200.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2015 10:58 AM
03-04-2015 10:58 AM
Re: no output displayed while running ndd command.
You might also verify FIN_WAIT states with netstat:
# netstat|grep -i fin tcp 0 0 atl1.49152 atl2.49157 FIN_WAIT_2 tcp 0 0 atl1.49156 atl1.63505 FIN_WAIT_2
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2015 04:03 AM
03-06-2015 04:03 AM
Re: no output displayed while running ndd command.
HI,
What do you see when run 'ndd get /dev/tcp tcp_status' by itself without any of your greps? Do you see what you're looking for?
NO,, I don't get the information what i am looking for.
#ndd -get /dev/tcp tcp_status
operation failed, Invalid argument
then how can i find the hexa decimal number to disconnect the session.
# ndd -set /dev/tcp tcp_discon 0xxxxx
regards
Madhu