08-01-2001
Ports In Unix
Please could some one tell me how to open a port in unix or to check if a port is open.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I'm new to the boards and don't know all that much about unix either.
I do have quite a specific question though and i hope someone can help me with it...
i'm going crazy...i've been trying to set up a wacom tablet on my unix box. i've don't it before but it was taken away and the os... (3 Replies)
Discussion started by: Salwey
3 Replies
2. Cybersecurity
How to access to COM1 Port COM2 ports in UNIX
is there any functions (1 Reply)
Discussion started by: rajashekaran
1 Replies
3. UNIX for Dummies Questions & Answers
I know i can look in the /etc/services file to look at referenced port numbers, but is there a command that will list the current ports being used? (i.e. what is the application does not have an entry in the services files :confused: ) (2 Replies)
Discussion started by: Ralf
2 Replies
4. UNIX for Dummies Questions & Answers
Hello,
I know that there is a unix system process that checks periodically the ports and if it finds any zombies then it frees them (the period is set by a kernel parameter).
Can anyone tell me the name of the process and the kernel parameter ?
Thanks :) (2 Replies)
Discussion started by: FunnyCats
2 Replies
5. Solaris
Hi ,
I need one help... Is there any command on solaris 10 to free the ports.
For e.g I used netstat -na| grep 8080
it displays either it is listening or established..
i want to free the ports...
Anyone please help me on this...
Thanks,
Shanmuga (2 Replies)
Discussion started by: shanshine
2 Replies
6. UNIX for Dummies Questions & Answers
Hi,
what is the unix command to get the list of all open ports in unix?
Thank you in advance (1 Reply)
Discussion started by: zainab
1 Replies
7. Solaris
Hi,
If for example i try to start tomcat in a solaris server and get errors related to address already in use, how can I know if this port is really used for another process?
If someone can point any documentation it will be very helpfull.
Thanks! :rolleyes: (9 Replies)
Discussion started by: ffpradella
9 Replies
8. Shell Programming and Scripting
I want to extend this script.
This must also be able to show me that a port is already assigned to a service but not running now
there must be three different messages
port 8949 is open but not listening
port 8959 is open
port 8999 hasn't been assigned to any service.
I know that... (1 Reply)
Discussion started by: charan314
1 Replies
9. OS X (Apple)
Hello everyone, this is my first post and I am by no means a unix expert, so I hope I explain my issue well.
I'm on a mac (mac mini), 10.7.
My question is about serial port names. I have an arduino microcontroller plugged in via usb, and every time the computer is shut down it gives the... (0 Replies)
Discussion started by: superliminal
0 Replies
10. Linux
Hi All,
Can someone help me in finding out below information from ReHat linux,Solaris,AIX, hp-ux machine :
1. How to find total number of ports in supported by each slot.
2. name of ports that are used to transmit data to the printer
3. total number of slots on a network device (2 Replies)
Discussion started by: omkar.jadhav
2 Replies
LEARN ABOUT DEBIAN
ieee1284_get_irq_fd
IEEE1284_GET_IRQ_FD(3) Functions IEEE1284_GET_IRQ_FD(3)
NAME
ieee1284_get_irq_fd, ieee1284_clear_irq - interrupt notification
SYNOPSIS
#include <ieee1284.h>
int ieee1284_get_irq_fd(struct parport *port);
int ieee1284_clear_irq(struct parport *port, unsigned int *count);
DESCRIPTION
If the port has a configured interrupt line and the port type supports interrupt notification, it is possible to obtain a file descriptor
that may be used for select(2) or poll(2). Any event (readable, writable or exception) means that an interrupt has been triggered. No
operations other than select or poll may be performed on the file descriptor.
The port must be open in order to call ieee1284_get_irq_fd, and must be claimed when using select or poll.
The caller must not close the file descriptor, and may not use it at all when the port is not claimed.
When an interrupt has been detected, the caller must call ieee1284_clear_irq to clear the interrupt condition, at which point the number of
interrupts raised can be obtained by supplying a non-NULL count.
RETURN VALUE
For ieee1284_get_irq_fd: If the return value is negative then it is an error code listed below. Otherwise it is a valid file descriptor.
E1284_NOTAVAIL
No such file descriptor is available.
E1284_INVALIDPORT
The port parameter is invalid (for instance, perhaps the port is not open).
For ieee1284_clear_irq:
E1284_OK
The interrupt has been cleared. If count was not NULL the count of interrupts has been atomically stored to count and reset.
E1284_NOTAVAIL
The count parameter was not NULL but interrupt counting is not supported on this type of port. The interrupt has been cleared.
E1284_SYS
There was a problem clearing the interrupt.
E1284_INVALIDPORT
The port parameter is invalid (for instance, perhaps the port is not claimed).
AUTHOR
Tim Waugh <twaugh@redhat.com>
Author.
COPYRIGHT
Copyright (C) 2001-2003 Tim Waugh
09/18/2007 IEEE1284_GET_IRQ_FD(3)