Negative values for peer inodes in ss -x output


 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers Negative values for peer inodes in ss -x output
# 1  
Old 04-28-2020
Negative values for peer inodes in ss -x output

Hi all,

Long time no see, love what you've done with the place!

I'm wondering how to interpret negative values for local and peer inode values for Unix sockets?

Code:
Netid  State      Recv-Q Send-Q Local Address:Port                 Peer Address:Port
...
u_str  ESTAB      0      0      /var/run/docker.sock -1847002447           * -1846996756

Thanks, Skrynesaver

Last edited by Skrynesaver; 04-28-2020 at 11:43 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to sum the value with negative values?

Hi Gurus, I have requirement need to sum the value, the logic is if the value is negative then time -1, I tried below two ways. one is failed, another one doesn't work. awk -F"," '{if($8< 0 $8*-1 else $8) sum+=$8}{print sum, $8} END{printf("%.2f\n",sum)}' awk -F","... (4 Replies)
Discussion started by: ken6503
4 Replies

2. Shell Programming and Scripting

Conavert negative values to Zeros

Can anyone please assist me? Please find the attached input and output file for ur reference. a)Incase if i get negative value (ex:-000100) in the 11th column then i have to convert the value to 0000000(7 zeros-length is 7) and then print the entire record. b)Incase if there is no... (2 Replies)
Discussion started by: vinus
2 Replies

3. Shell Programming and Scripting

Awk+colpos+negative if for 20 values

Hi All, i have 20 Obligors when ever i dont find all of them on particular row/line from each in put i need to print it in different file. using below command but it is not working please help at earliest. Steps: set -A FILENAME $( cat... (10 Replies)
Discussion started by: rajubollas
10 Replies

4. IP Networking

Problem with Static route through peer to peer connection

Hi, I am trying to add a static route in one of 3 server (S3) so that I can access the main application server (S1). But problem is, the server (S3) where I am trying to add static route is connected with another server (S2) which is in same private network of application server (S1). I have... (9 Replies)
Discussion started by: ImranBD
9 Replies

5. Shell Programming and Scripting

replacing negative values in a column with zero

Hi, i need help on replacing negative values in a column with 0. any quick fix on this? thanks much. for instance, input: 1 2.3 -0.4 -25 12 13 45 -12 desired output 1 2.3 0 0 12 13 45 (4 Replies)
Discussion started by: ida1215
4 Replies

6. Shell Programming and Scripting

Sorting positive and negative values

Hello, I have a list like this : 1 2 -4 0 -3 -7 5 6 etc. Is there a way to remove all the positive values and print only the negative values, without using grep, sed or awk? Thanks, Prasanna (4 Replies)
Discussion started by: prasanna1157
4 Replies

7. IP Networking

Firewall stopping Peer to Peer File sharing

I am looking for advice on a router. I am new to Linux and am trying to use Limewire and Ktorent and can make no connection. Limewire indicates I have a firewall. I have a Linksys router WRK54G and my guess is that is the problem. I have spent hours upon hours trying to get it to work using info... (0 Replies)
Discussion started by: Paul K
0 Replies

8. SCO

Help with negative inodes on sco 6

Hello. I just installed a SCO Openserver 6 box and it's suckin' mud. sar -v (see below) shows something that has me quite concerned... after time, it shows that the number of inodes being used as a negative value. When this happens, the server runs extremely slow until I reboot. The server... (0 Replies)
Discussion started by: debtman3535
0 Replies
Login or Register to Ask a Question
mod_security(3erl)					     Erlang Module Definition						mod_security(3erl)

NAME
mod_security - Security Audit and Trailing Functionality DESCRIPTION
Security Audit and Trailing Functionality EXPORTS
list_auth_users(Port) -> Users | [] list_auth_users(Address, Port) -> Users | [] list_auth_users(Port, Dir) -> Users | [] list_auth_users(Address, Port, Dir) -> Users | [] Types Port = integer() Address = {A,B,C,D} | string() | undefined Dir = string() Users = list() = [string()] list_auth_users/1 , list_auth_users/2 and list_auth_users/3 returns a list of users that are currently authenticated. Authentica- tions are stored for SecurityAuthTimeout seconds, and are then discarded. list_blocked_users(Port) -> Users | [] list_blocked_users(Address, Port) -> Users | [] list_blocked_users(Port, Dir) -> Users | [] list_blocked_users(Address, Port, Dir) -> Users | [] Types Port = integer() Address = {A,B,C,D} | string() | undefined Dir = string() Users = list() = [string()] list_blocked_users/1 , list_blocked_users/2 and list_blocked_users/3 returns a list of users that are currently blocked from access. block_user(User, Port, Dir, Seconds) -> true | {error, Reason} block_user(User, Address, Port, Dir, Seconds) -> true | {error, Reason} Types User = string() Port = integer() Address = {A,B,C,D} | string() | undefined Dir = string() Seconds = integer() | infinity Reason = no_such_directory block_user/4 and block_user/5 blocks the user User from the directory Dir for a specified amount of time. unblock_user(User, Port) -> true | {error, Reason} unblock_user(User, Address, Port) -> true | {error, Reason} unblock_user(User, Port, Dir) -> true | {error, Reason} unblock_user(User, Address, Port, Dir) -> true | {error, Reason} Types User = string() Port = integer() Address = {A,B,C,D} | string() | undefined Dir = string() Reason = term() unblock_user/2 , unblock_user/3 and unblock_user/4 removes the user User from the list of blocked users for the Port (and Dir) spec- ified. THE SECURITYCALLBACKMODULE
The SecurityCallbackModule is a user written module that can receive events from the mod_security Erlang Webserver API module. This module only exports the function(s), event/4,5 , which are described below. EXPORTS
event(What, Port, Dir, Data) -> ignored event(What, Address, Port, Dir, Data) -> ignored Types What = atom() Port = integer() Address = {A,B,C,D} | string() <v>Dir = string() Data = [Info] Info = {Name, Value} event/4 or event/4 is called whenever an event occurs in the mod_security Erlang Webserver API module ( event/4 is called if Address is undefined and event/5 otherwise). The What argument specifies the type of event that has occurred, and should be one of the fol- lowing reasons; auth_fail (a failed user authentication), user_block (a user is being blocked from access) or user_unblock (a user is being removed from the block list). Note: Note that the user_unblock event is not triggered when a user is removed from the block list explicitly using the unblock_user function. Ericsson AB inets 5.5.2 mod_security(3erl)