ATOPSAR(1) General Commands Manual ATOPSAR(1) (NAME) atopsar - (SYNOPSIS) atopsar [-flags...] [-r file|date|- ] [-R cnt ] [-b [YYYYMMDD]hhmm[ss] ] [-e [YYYYMMDD]hhmm[ss] ] atopsar [-flags...] interval [ samples ] (DESCRIPTION) atopsar . ( ) atopsar () atop ( -w atop) . -r atopsar . atop /var/log/atop/atop_YYYYMMDD ( YYYYMMDD ) YYYYMMDD -r 'y' ( 'yyyy' ) '-' (stdin) . -r . -b -e [YYYYMMDD]hhmm[ss] . atopsar interval ( ) samples () ( ) . atopsar . interval . . atopsar : -S . ( ). -a . . -x atopsar () . () (). atop ( COLORS) . -x . -C atopsar () . () (). atop ( COLORS) . -C . -M ('*') ('+'). '*' '+' . atop ( COLORS) . -H N . N tty/ ( ) (pipe) . -R cnt . '-R 6' . : -A . -c (CPU) ( cpu). -g (GPU) ( GPU). -p (load-averages) . -P . -m (RAM) (swap). -s (paging) (swapping) (overcommitment). -B (PSI Pressure Stall Information). -l (Logical Volumes). -f (Multiple Devices). -d . -n NFS NFS. -j NFS. -J () NFS. -i . -I . -w IP (IPv4). -W IP (IPv4). -y ICMP (ICMPv4). -Y ICMP (ICMPv4). -u UDP (UDPv4). -z IP (IPv6). -Z IP (IPv6). -k ICMP (ICMPv6). -K ICMP (ICMPv6). -U UDP (UDPv6). -t TCP. -T TCP. -h Infiniband. -O . () ( ). -G (Resident Memory) . () ( ). -D . () ( ). -N IPv4/IPv6 . () ( ). (OUTPUT DESCRIPTION) . . -c (CPU) : usr% ( program text) nice () nice ( ) . nice ( ) nice% . nice% ( ) nice ( ) . sys% ( kernel text) . . irq% . softirq% (soft interrupts). steal% (steal) . guest% ( usr%/nice%). wait% / (I/O) . idle% / . -g (GPU) : busaddr GPU (bus-ID) ( '/'). gpubusy GPU . membusy GPU . memocc . memtot . memuse GPU . gputype (GPU). -p : pswch/s ( context switch ) . ( ) . devintr/s . clones/s . loadavg1 (runqueue) ( / ) . loadavg5 ( / ) . loadavg15 ( / ) . -P : clones/s . pexit/s curproc . curzomb . trun 'running' ( ). tslpi 'interruptible sleeping' ( ). tslpu 'uninterruptible sleeping' ( ). tidle 'idle' ( - ). -m (swap) : memtotal . memfree ( ). buffers ( ). cached ( ). dirty (page cache) ( ). slabmem ( ). swptotal swap ( ). swpfree swap ( ). -s (swapping) : pagescan/s . swapin/s swap . swapout/s swap . oomkill swap. -1 . commitspc (committed) . commitlim swap . (vm.overcommit_memory 2 ). -B (PSI Pressure Stall Information) : cpusome 'CPU some'. memsome 'memory some'. memfull 'memory full'. iosome 'I/O some'. iofull 'I/O full'. -l (LVM) -f (MD) -d ( ) : disk . busy ( ). read/s . KB/read . writ/s ( discard) . KB/writ . avque . avserv ( ). -n NFS ( ) : mounted_device . physread/s NFS NFS. KBwrite/s NFS NFS. NFS 'M' . -j NFS : rpc/s RPC () NFS. rpcread/s RPC () NFS. rpcwrite/s RPC () NFS. retrans/s RPC . autrefresh/s . -J NFS : rpc/s RPC () NFS. rpcread/s RPC () NFS. rpcwrite/s RPC () NFS. MBcr/s . MBcw/s . nettcp/s TCP. netudp/s UDP. -i : interf . busy . (linespeed) ( atop atopsar ) . ipack/s . opack/s . iKbyte/s . oKbyte/s . imbps/s . ombps/s . maxmbps/s . ( atop atopsar ) 0 . 'f' ( / full duplex) 'h' ( / half duplex) . -I : interf . ierr/s . oerr/s . coll/s . idrop/s . odrop/s . iframe/s . ocarrier/s . -w IPv4 ( SNMP ): inrecv/s IP (ipInReceives). outreq/s IP IP (ipOutRequests). indeliver/s IP (ipInDelivers). forward/s IP () (ipForwDatagrams). reasmok/s IP (ipReasmOKs). fragcreat/s IP (ipFragCreates). -W IPv4 ( SNMP ): in: dsc/s IP (ipInDiscards). in: hder/s IP IP (ipInHdrErrors). in: ader/s IP IP (ipInAddrErrors). in: unkp/s (ipInUnknownProtos). in: ratim/s () (ipReasmTimeout). in: rfail/s IP (ipReasmFails). out: dsc/s IP (ipOutDiscards). out: nrt/s IP (ipOutNoRoutes). -y ICMPv4 ICMP ( SNMP ): intot/s ICMP ( ) (icmpInMsgs). outtot/s ICMP ( ) (icmpOutMsgs). inecho/s ICMP Echo ( Request) (icmpInEchos). inerep/s ICMP Echo-Reply () (icmpInEchoReps). otecho/s ICMP Echo ( Request) (icmpOutEchos). oterep/s ICMP Echo-Reply () (icmpOutEchoReps). -Y ICMPv4 ( SNMP ): ierr/s ICMP ICMP (icmpInErrors). isq/s ICMP Source Quench (icmpInSrcQuenchs). ird/s ICMP Redirect (icmpInRedirects). idu/s ICMP Destination Unreachable (icmpInDestUnreachs). ite/s ICMP Time Exceeded (icmpOutTimeExcds). oerr/s ICMP ICMP (icmpOutErrors). osq/s ICMP Source Quench (icmpOutSrcQuenchs). ord/s ICMP Redirect (icmpOutRedirects). odu/s ICMP Destination Unreachable (icmpOutDestUnreachs). ote/s ICMP Time Exceeded (icmpOutTimeExcds). -u UDPv4 ( SNMP ): indgram/s UDP UDP (udpInDatagrams). outdgram/s UDP (udpOutDatagrams). inerr/s UDP (udpInErrors). noport/s UDP (udpNoPorts). -z IPv6 ( SNMP ): inrecv/s IPv6 (ipv6IfStatsInReceives). outreq/s IPv6 IP (ipv6IfStatsOutRequests). () . inmc/s () (ipv6IfStatsInMcastPkts). outmc/s () (ipv6IfStatsOutMcastPkts). indeliv/s IP IPv6 ICMP (ipv6IfStatsInDelivers). reasmok/s IPv6 (ipv6IfStatsReasmOKs). fragcre/s IPv6 (ipv6IfStatsOutFragCreates). -Z IPv6 ( SNMP ): in: dsc/s IPv6 (ipv6IfStatsInDiscards). in: hder/s IPv6 (ipv6IfStatsInHdrErrors). in: ader/s IPv6 (ipv6IfStatsInAddrErrors). in: unkp/s (ipv6IfStatsInUnknownProtos). in: ratim/s () IPv6 (ipv6ReasmTimeout). in: rfail/s IPv6 (ipv6IfStatsReasmFails). out: dsc/s IPv6 (ipv6IfStatsOutDiscards). out: nrt/s IPv6 (ipv6IfStatsInNoRoutes). -k ICMPv6 ICMP ( SNMP ): intot/s ICMPv6 ( ) (ipv6IfIcmpInMsgs). outtot/s ICMPv6 ( ) (ipv6IfIcmpOutMsgs). inerr/s ICMPv6 ICMP ICMP (ipv6IfIcmpInErrors). innsol/s ICMP Neighbor Solicit (ipv6IfIcmpInNeighborSolicits). innadv/s ICMP Neighbor Advertisement (ipv6IfIcmpInNeighborAdvertisements). otnsol/s ICMP Neighbor Solicit (ipv6IfIcmpOutNeighborSolicits). otnadv/s ICMP Neighbor Advertisement (ipv6IfIcmpOutNeighborAdvertisements). -K ICMPv6 ( SNMP ): iecho/s ICMP Echo ( Request) (ipv6IfIcmpInEchos). ierep/s ICMP Echo-Reply () (ipv6IfIcmpInEchoReplies). oerep/s ICMP Echo-Reply () (ipv6IfIcmpOutEchoReplies). idu/s ICMP Destination Unreachable (ipv6IfIcmpInDestUnreachs). odu/s ICMP Destination Unreachable (ipv6IfIcmpOutDestUnreachs). ird/s ICMP Redirect (ipv6IfIcmpInRedirects). ord/s ICMP Redirect (ipv6IfIcmpOutRedirect). ite/s ICMP Time Exceeded (ipv6IfIcmpInTimeExcds). ote/s ICMP Time Exceeded (ipv6IfIcmpOutTimeExcds). -U UDPv6 ( SNMP ): indgram/s UDPv6 UDP (udpInDatagrams). outdgram/s UDPv6 (udpOutDatagrams). inerr/s UDPv6 (udpInErrors). noport/s UDPv6 (udpNoPorts). -t TCP ( SNMP ): insegs/s () (tcpInSegs). outsegs/s (tcpOutSegs). actopen/s (Active Opens) (tcpActiveOpens). pasopen/s (Passive Opens) (tcpPassiveOpens). nowopen ( ) ESTABLISHED CLOSE-WAIT (tcpCurrEstab). -T TCP ( SNMP ): inerr/s (tcpInErrs). retrans/s (tcpRetransSegs). attfail/s (tcpAttemptFails). estabreset/s (Reset) (tcpEstabResets). outreset/s RST (tcpOutRsts). -h Infiniband : controller . port . busy . ipack/s . opack/s . igbps/s . ogbps/s . maxgbps/s . lanes (Lanes). -O : pid ( ). command . cpu% . . -G : pid ( ). command . mem% . -D : pid ( ). command . dsk% . -N IPv4/IPv6 : pid ( ). command . net% . (EXAMPLES) ( atop ): atopsar : : ( atop ): atopsar -m -r /var/log/atop_20180605 -b 10:00 -e 12:30 atopsar -m -r 20180605 -b 10:00 -e 12:30 atopsar -m -r yyy -b 10:00 -e 12:30 atop ( ) : atop -w /tmp/atoplog 60 30 atopsar -A -r /tmp/atoplog TCP ( ): atopsar -t 60 10 ( '_') ( '*' '+' ): atopsar -AM | grep '[_*+]$' (FILES) /etc/atoprc ( ). . ~/.atoprc ( ). . /var/log/atop/atop_YYYYMMDD YYYYMMDD . (SEE ALSO) atop(1), atoprc(5), atopcat(1), atophide(1), atopconvert(1), atopacctd(8), netatop(4), netatopd(8) https://www.atoptool.nl (AUTHOR) Gerlof Langeveld (gerlof.langeveld@atoptool.nl) Linux January 2024 ATOPSAR(1)