Hello.
'hostname' should return the guest name, right?
But it's not the case here...
What am I missing?
# cat /etc/vservers/i386/uts/nodename
i386.harfang.homelinux.org
# cat /proc/virtual/1011/cvirt
BiasUptime: 91103.86
SysName: Linux
NodeName: dusk
Release: 2.6.14-vs2.1.0-rc5+g3
Version: #1 SMP Sat Nov 5 18:01:33 CET 2005
Machine: x86_64
DomainName: (none)
nr_threads: 7
nr_running: -20
nr_unintr: 0
nr_onhold: 0
load_updates: 8733
loadavg: 397.00 3125.31 293799.39
total_forks: 203
# vserver-info
Versions:
Kernel: 2.6.14-vs2.1.0-rc5+g3
VS-API: 0x00020001
util-vserver: 0.30.208; Sep 27 2005, 04:33:14
Features:
CC: gcc, gcc (GCC) 4.0.2 (Debian 4.0.1-9)
CXX: g++, g++ (GCC) 4.0.2 (Debian 4.0.1-9)
CPPFLAGS: ''
CFLAGS: '-Wall -g -O2 -std=c99 -Wall -pedantic -W -funit-at-a-time'
CXXFLAGS: '-g -O2 -ansi -Wall -pedantic -W -fmessage-length=0 -funit-at-a-time'
build/host: x86_64-pc-linux-gnu/x86_64-pc-linux-gnu
Use dietlibc: yes
Build C++ programs: yes
Build C99 programs: yes
Available APIs: compat,v11,v13,fscompat,net,oldproc,olduts
ext2fs Source: e2fsprogs
syscall(2) invocation: alternative
vserver(2) syscall#: 236/glibc
Paths:
prefix: /usr
sysconf-Directory: /etc
cfg-Directory: /etc/vservers
initrd-Directory: $(sysconfdir)/init.d
pkgstate-Directory: /var/run/vservers
Kernelheaders: /usr/include
vserver-Rootdir: /var/lib/vservers
Also, the guest was built using the "debootstrap" method, with the
"--arch i386" option, so that I expect to have 32-bit vserver.
How can I check that it's actually the case. And why the "Machine:"
above is referred to as "x86_64" (I assume it's similar to the
hostname problem)?
Thanks,
Gilles
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Sun Nov 6 23:06:46 2005