Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

netlog(1) [osx man page]

netlog(1)						    BSD General Commands Manual 						 netlog(1)

NAME
netlog -- Log summary of every UDP and TCP socket when the socket is closed. SYNOPSIS
netlog [-v] [-i interval] DESCRIPTION
The netlog program logs a summary for each TCP and UDP socket when the socket is closed. A header is printed once. The row items are sepa- rated by spaces. Address to hostname lookups are not performed. Sockets that do not send or receive any data are not listed. OPTIONS
A list of flags and their descriptions: -v Verbose output -i interval Report socket statistics periodically Darwin June 2, 2019 Darwin

Check Out this Related Man Page

netlog(1)						    BSD General Commands Manual 						 netlog(1)

NAME
netlog -- Log summary of every UDP and TCP socket when the socket is closed. SYNOPSIS
netlog [-v] [-i interval] [-I iterations] [-t type] [-p process-name|pid] [-c] [-z] DESCRIPTION
The netlog program logs a summary for each TCP and UDP socket when the socket is closed. A header is printed once. The row items are sepa- rated by spaces. Address to hostname lookups are not performed. Sockets that do not send or receive any data are not listed unless the -z option is specified. OPTIONS
A list of flags and their descriptions: -v Verbose output -i interval Report socket statistics periodically -I iterations Used in combination with -i, will make netlog exit after the specified number of iterations. -t type Specify the type of interface. By default, all interfaces will be monitored. Multiple interface types may be specified. The fol- lowing types are supported: wifi WiFi interfaces wired Wired interfaces loopback Loopback interfaces awdl Apple Wireless Direct Link interfaces expensive Interfaces marked as "expensive", for example via hotspot undefined Cases where the underlying socket is not associated with an interface external The combination of all defined non-loopback interfaces. -p process-name|pid Select a process for display. A numeric argument identifies a process by its pid. Alternatively a process name may be given, in which case all processes with that name will be displayed. The name must be an exact match for the name displayed by netlog, which may require that the name be truncated, for example launchd.develop instead of launchd.development. This option may be repeated to select multiple processes. -c Print details in comma-separated values (CSV) form. -z Print details even if there was no data transfer on the socket Darwin May 31, 2019 Darwin
Man Page

13 More Discussions You Might Find Interesting

1. Solaris

Package needs to be installed for using pam_mkhomedir.so?

Hi, What is the necessary package that needs to be installed for using pam_mkhomedir.so in pam.conf file? And from where can i get that file? Is that package already shipped with Solaris 10? Because when i use that file i am getting "open_module: stat(/usr/lib/security/pam_mkhomedir.so)... (1 Reply)
Discussion started by: sathya47
1 Replies

2. Linux

Auto map network drive using SAMBA with batch file

Hi everyone. I have several shares (see smb.conf below). Each setup fairly similarly, and several groups. My end goals are: 1) to have the share automatically map as the P: drive to members of the employees group 2) to have the share automatically map as the t: drive to members of the tech... (0 Replies)
Discussion started by: unassassinable
0 Replies

3. Solaris

Oracle Profile

So my oracle DBA emails me a profile.txt and tells me I need to install it for my oracle user account. what do I do with it? (4 Replies)
Discussion started by: Kjons76
4 Replies

4. Windows & DOS: Issues & Discussions

Script to automatically map samba shares as network drive

Hopefully someone will be kind enough to help me. I have a fileserver acting as a PDC and providing samba shares to a small network. Authentication to the PDC is via LDAP (setup using ebox) The users all have real local accounts on the server. I would like a windows logon script that will:... (4 Replies)
Discussion started by: barrydocks
4 Replies

5. Shell Programming and Scripting

Reformatting single column text file starting new line when finding particular string

Hi, I have a single colum file and I need to reformat the file so that it creates a new line every time it come to an IP address and the following lines are corresponding rows until it comes to the next IP address. I want to turn this 172.xx.xx.xx gwpusprdrp02_pv seinwnprd03... (7 Replies)
Discussion started by: kieranfoley
7 Replies

6. Programming

Storing C++-struct in file - problem when adding new item in struct

Hi, I have received an application that stores some properties in a file. The existing struct looks like this: struct TData { UINT uSizeIncludingStrings; // copy of Telnet data struct UINT uSize; // basic properties: TCHAR szHost; //defined in Sshconfig UINT iPortNr; TCHAR... (2 Replies)
Discussion started by: Powerponken
2 Replies

7. UNIX for Dummies Questions & Answers

how to fix these preoblems in samba in order to act as domain controller

Dear all I now working on samba in order to act as domain controller, but I have some problems in the configuration file that I don't how to solve it, so I hope you able to give me some help: the warnings and the configuration I made : dos charset = 850 unix charset = ISO8859-1 ... (0 Replies)
Discussion started by: hard_revenge
0 Replies

8. UNIX for Dummies Questions & Answers

Ubuntu Server 14.04 LTS - domain controller configuration (SAMBA)

Hello! Never configured a Linux server from a scratch. Reviewed the official documentation and dozens of different "how to", but now one of them helped me to solve the issue. The need: My final goal is to install a small network (later with around 10 stations) where I can controle the... (0 Replies)
Discussion started by: AQwert
0 Replies

9. Red Hat

RHEL 6 SAMBA PDC not loading user's profile

Hi all I am facing a problem. I have configured SAMBA PDC on RHEL 6. Everything is going very smooth. Users are being logged in properly & their network drives (i-e; z: drives) are being shown. But either i login to Windows XP or Windows 7, user's profile does not get loaded. I get an error... (0 Replies)
Discussion started by: Yawar_Aziz
0 Replies

10. Shell Programming and Scripting

Infinite "while" loop subshell loses current date variable

I have a simple script to log network connectivity to a set of systems. However, as expected the date appended to the log never changes because the new variable is lost when the loop starts again. Can someone clue me in on how to get around this issue? #!/bin/bash LOG=/tmp/netlog... (3 Replies)
Discussion started by: woodson2
3 Replies

11. Shell Programming and Scripting

Convert vnstat log to csv

My goal is to log daily network activity (rx/tx) from each ethernet interface. I installed vnstat, and while it reports daily and monthly stats, it doesn't offer a nice way to convert to csv to import into a database. Maybe there's an alternative to vnstat that I'm not aware of you can suggest... (2 Replies)
Discussion started by: unplugme71
2 Replies

12. Debian

Applying patch for Samba version 4.1.17

The version of Samba in our billing server is 4.1.17-Debian. I have been reminded by our management to implement the patch for Samba on this server. However, I am not sure how to implement the patch. I have browsed some websites for the correct patch to implement for Samba 4.1.17, and the patch... (11 Replies)
Discussion started by: anaigini45
11 Replies

13. UNIX for Advanced & Expert Users

Syslog-ng not working not collecting logs on rhel

Hi, I need help on syslog-ng on RHEL 7.2. It is working as expected. As per configuration, it is supposed to create authlog, messages and xymessages daily in respective folder of date. But I can see only messages file and that is also not updating well. # ps -ef | grep -i syslog root 22954... (1 Reply)
Discussion started by: solaris_1977
1 Replies