Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Linux System Getting Started Learning: The Linux ac command     - 24 Docker recommendations (Linux)

- How to install Linux Kernel 4.4 on Ubuntu (Linux)

- PHP file upload methods exist in the database (Programming)

- The file name is garbled or deleted files with special characters under Linux (Linux)

- Without Visual Studio .NET Windows application development (Programming)

- Web database security tips (Linux)

- Linux environment variables inside (Linux)

- Nginx server load balancing dual-system availability (Server)

- Create the best introductory tutorial REST API (Linux)

- MySQL Online DDL tools of pt-online-schema-change (Database)

- VirtualBox modify the size of the virtual machine disk VDI (Linux)

- Java Foundation - Variables and data types (Programming)

- Create a DLL using MinGW and Attention (Programming)

- Source code compiled by the installation program under Linux (Linux)

- MongoDB relations, references, index query coverage (Database)

- Zabbix API and PHP configuration (Server)

- How to Install SeaMonkey 2.25 for Ubuntu (Linux)

- CentOS Set the Mono environment variable (Server)

- Windows Ubuntu dual system a key Ghost, grub rescue prompt solution (Linux)

- Linux environment has been running Tomcat how to deploy the new Tomcat (Server)

 
         
  Linux System Getting Started Learning: The Linux ac command
     
  Add Date : 2018-11-21      
         
         
         
  Linux in ac order under the current / var / log / wtmp file entry and exit logged in to report the user connections, the default is based on an hourly basis, if you do not use the logo, the report is the total time.

It has two main parameters:

(1) -d displays the connection time per day.

(2) -p displays each user's connection time.

For example, type ac command, and then press the Enter key, it will display the following:

[Root @ linuxhost /] # ac
total 496.35 Type ac -d command, and then press Enter to display the total connect time per day:

Aug 12 total 261.87
Aug 13 total 351.39
Aug 14 total 396.09
Aug 15 total 462.63
Aug 16 total 270.45
Aug 17 total 104.29
Today total 179.02

Type ac -p command, and then press Enter to display the total connect time for each user:

[Www.linuxhost.com@linuxhost ~] $ exit
logout
[Root @ linuxhost /] # ac -p
  tom 0.32
  root 496.05
  total 496.37
[Root @ linuxhost /] #
     
         
         
         
  More:      
 
- Oracle Linux 6.4 installed Oracle 11gR2 + RAC + ASM (Database)
- How screenshots from the Linux command line (Linux)
- Linux Getting Started tutorial: XWindow what (Linux)
- Linux security configuration (Linux)
- Install the Red Hat Container Development Kit on OSX (Server)
- Use FirewallD build dynamic firewall (Linux)
- Getting Started with Linux system to learn: how to get the process ID (PID) in the script (Linux)
- Linux / Raspberry Pi using the following command-line based web browser (Linux)
- Understanding Linux firewall Iptables (Linux)
- Configuring Sublime Text Python runtime environment 2 (Linux)
- PostgreSQL use pgpool achieve high availability (Database)
- The easiest 11g Active DataGuard (ADG) to establish the configuration process (Database)
- Ceph cluster disk is no workaround for the remaining space (Server)
- Spark SQL job of a lifetime (Server)
- Linux, modify the fstab file system can not start causing solve one case (Linux)
- CentOS 6.5 installation VNCServer implement graphical access (Server)
- Installation Mesos + Marathon + Zookeeper under CentOS 7 (Server)
- VNC connection VMware vSphere ESXi 5.5 (Linux)
- namespace mechanism Linux kernel analysis (Linux)
- SUSE Linux install Oracle 10g and problem solving (Linux)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.