Class: Appear::Lsof::Connection

Inherits:
Util::ValueClass show all
Defined in:
lib/appear/lsof.rb

Overview

A connection of a process to a file. Created from one output row of ‘lsof`.

Instance Method Summary collapse

Methods inherited from Util::ValueClass

#initialize, properties, property

Constructor Details

This class inherits a constructor from Appear::Util::ValueClass

Instance Method Details

#command_nameString

Returns:

  • (String)


23
# File 'lib/appear/lsof.rb', line 23

property :command_name

#deviceString

Returns:

  • (String)


38
# File 'lib/appear/lsof.rb', line 38

property :device

#fdString

Returns:

  • (String)


29
# File 'lib/appear/lsof.rb', line 29

property :fd

#file_nameString

Returns:

  • (String)


47
# File 'lib/appear/lsof.rb', line 47

property :file_name

#nodeString

Returns:

  • (String)


44
# File 'lib/appear/lsof.rb', line 44

property :node

#pidFixnum

Returns:

  • (Fixnum)


26
# File 'lib/appear/lsof.rb', line 26

property :pid

#sizeString

Returns:

  • (String)


41
# File 'lib/appear/lsof.rb', line 41

property :size

#typeString

Returns:

  • (String)


35
# File 'lib/appear/lsof.rb', line 35

property :type