|
Re: lug-bg: port 1421,1423
- Subject: Re: lug-bg: port 1421,1423
- From: jdamgov@xxxxxxxxxxxx (jdamgov@xxxxxxxxxxxx)
- Date: Fri, 5 Jan 2001 10:40:04 +0200 (EET)
10x
On Thu, 4 Jan 2001, Georgi Georgiev wrote:
>
>
> Ami imash pusnat server na tezi portove.
okaza se che naistina ima pusnat server na tezi portove,
no po tozi nachin ne mozhe da se otkrie koi e
(nito s fuser)
ima go v /proc/net/tcp, no njama nishto v
/proc/*/fd/*
ervera e GNU queue - batch sistema.
Jo
> Ako iskash da razberesh koi proces e otgovoren za
> tazi rabota, vij v /proc
>
> znachi v
>
> /proc/net/tcp
>
> poslednite chisla v redovete sa nomera na socket-i
> primerno neka reda koito te valnuva e:
>
> 8: 00000000:1538 00000000:0000 0A 00000000:00000000
> 00:00000000 00000000 1002 0 97
>
>
> Tozi red pri men saotvetstva na listen socketa na
> port $1538 (koeto e 5432=postgreSQL). Poslednoto
> chislo v reda e nomer na socketa.
>
> posle za da namerish procesa deto slusha
>
> tarsish vav failovete
>
> /proc/proc_number/fd/*
>
> s komanda:
>
> ls -l /proc/*/fd/*| grep 97
>
> shte poluchish izhod ot vida:
>
> lrwx------ 1 pgroot pgroot 64 Jan 4 18:21
> /proc/137/fd/3 -> socket:[97]
>
> Ta nomera na procesa ti e 137.
>
> =====
> Skelet
> ====== http://skelet.hit.bg
==================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
Otpiswaneto RABOTI !!! : Majordomo@xxxxxxxxxxxxxxxxxx UNSUBSCRIBE LUG-BG
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|
|
|