com

Mattepuffo's logo
Monitorare le attività utente su Linux con psacct

Monitorare le attività utente su Linux con psacct

psacct, che in alcune distro è acct, è tool che ci permette di monitorare le attività utente sulla nostra distro Linux.

Al suo interno ha questi comandi:

  • ac command prints the statistics of user logins/logouts (connect time) in hours.
  • lastcomm command prints the information of previously executed commands of the user.
  • accton commands is used to turn on/off process for accounting.
  • sa command summarizes information of previously executed commands.
  • last and lastb commands show a listing of last logged-in users.

Mattepuffo's logo
Creare log in PHP con Monolog

Creare log in PHP con Monolog

Monolog è una libreria per PHP per la creazione di log.

E' molto usata anche all'interno di altri framework come Laravel.

In questo articolo vediamo come usarla all'interno di una nostra applicazione.