Knowledge Base
Searching in : Article
ID: AR04E00455
Applies to: NX Software
Added on: 2007-04-20
Last Update: 2009-10-09

List of Perl modules included in the nxserver and nxstat 3.x binaries

The following Perl modules are included in the nxserver binary:

Error qw(:try)
Time::HiRes qw ( gettimeofday )
Time::Local
Digest::MD5 qw(md5_base64)
IO::Select
IPC::Open3
Symbol qw(gensym qualify)
base qw 'InfoManager'
Getopt::Long
Unix::Syslog qw(:subs :macros)
Digest::MD5 qw(md5_hex)
Carp::Heavy
Fcntl qw(:DEFAULT :flock)
File::Spec qw(rel2abs)
Socket
Text::ParseWords

Whereas the following Perl modules are included in the nxstat binary:

Fcntl qw(:DEFAULT :flock :mode)
File::Copy
warnings
Carp
Data::Dumper
Date::Manip
GD::Graph::bars
Time::HiRes
Time::HiRes qw ( gettimeofday )
Sys::Hostname
IO::Select
IO::Socket
Socket
IO::Socket::INET
DBI
DBD::SQLite
Time::Local
POSIX
POSIX qw(setsid)
POSIX ":sys_wait_h"
POSIX qw(:errno_h)
POSIX qw(:signal_h)
Symbol qw(gensym qualify)
Error qw(:try)
Unix::Syslog qw(:subs :macros)

As you will see, some of the Perl modules included in the two binaries are the same, while they substantially differ for GD::Graph, DBI and DBD::SQLite modules needed by nxstat. The presence of these modules determines the size of nxstat which is 11M.