---
name: "Psad"
section: "3pm"
platform: "linux"
package: "psad"
version: "1.4.8-1"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/Psad"
---

# Psad(3pm)

Perl extension for psad (the Port Scan Attack Detector) daemons

## NAME

Psad - Perl extension for psad (the Port Scan Attack Detector) daemons

## SYNOPSIS

```
  use Psad;
  writepid()
  writecmdline()
  unique_pid()
  psyslog()
  check_commands()
```

## DESCRIPTION

The Psad.pm module contains several subroutines that are used by Port Scan Attack Detector (psad) daemons. *writepid()*  writes process ids to the pid files (e.g. "/var/run/psad.pid"). *writecmdline()*  writes the psad command line contained within `@ARGV`\[\] to the file "/var/run/psad.cmd". *unique\_pid()*  makes sure that no other daemon process is already running in order to guarantee pid uniqueness. *psyslog()* an interface to sending messages via syslog. *check\_commands()*  check paths to commands and warns if unable to find any  particular command.

## AUTHOR

Michael Rash, mbr@cipherdyne.org

## SEE ALSO

[*psad*(8)](/psad/8.md).
