Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Sep 2021 08:48:52 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: monitoring incoming mailbox in console mode
Message-ID:  <YTmuVMh0FJ3zTpu8@c720-r368166>
In-Reply-To: <20210908203244.57309565.freebsd@edvax.de>
References:  <20210908124536.GA17@sh4-5.1blu.de> <20210908203244.57309565.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help

Thanks for the hints about biff(1). I wasn't aware of it, even if I was
used to use xbiff in the past.

But, biff(1) does not do anything. I run

$ truss -o biff.tr -f biff b

and attached is the output of biff.tr. Any ideas?

	matthias

 1582: mmap(0x0,135168,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34361982976 (0x800224000)
 1582: mprotect(0x800221000,4096,PROT_READ)	 = 0 (0x0)
 1582: issetugid()				 = 0 (0x0)
 1582: sigfastblock(0x1,0x800223400)		 = 0 (0x0)
 1582: open("/etc/libmap.conf",O_RDONLY|O_CLOEXEC,010425330) = 3 (0x3)
 1582: fstat(3,{ mode=-rw-r--r-- ,inode=66236,size=115,blksize=32768 }) = 0 (0x0)
 1582: read(3,"# $FreeBSD: head/libexec/rtld-el"...,115) = 115 (0x73)
 1582: close(3)					 = 0 (0x0)
 1582: open("/usr/local/etc/libmap.d",O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC,0165) ERR#2 'No such file or directory'
 1582: open("/var/run/ld-elf.so.hints",O_RDONLY|O_CLOEXEC,010003166) = 3 (0x3)
 1582: read(3,"Ehnt\^A\0\0\0\M^@\0\0\0\M^A\^A\0"...,128) = 128 (0x80)
 1582: fstat(3,{ mode=-r--r--r-- ,inode=196999,size=513,blksize=32768 }) = 0 (0x0)
 1582: pread(3,"/lib:/usr/lib:/usr/lib/compat:/u"...,385,0x80) = 385 (0x181)
 1582: close(3)					 = 0 (0x0)
 1582: open("/lib/libc.so.7",O_RDONLY|O_CLOEXEC|O_VERIFY,00) = 3 (0x3)
 1582: fstat(3,{ mode=-r--r--r-- ,inode=197002,size=2127288,blksize=32768 }) = 0 (0x0)
 1582: mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 34362118144 (0x800245000)
 1582: mmap(0x0,4366336,PROT_NONE,MAP_GUARD,-1,0x0) = 34362122240 (0x800246000)
 1582: mmap(0x800246000,561152,PROT_READ,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) = 34362122240 (0x800246000)
 1582: mmap(0x8002cf000,1449984,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x88000) = 34362683392 (0x8002cf000)
 1582: mmap(0x800431000,40960,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x1e9000) = 34364133376 (0x800431000)
 1582: mmap(0x80043b000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x1f2000) = 34364174336 (0x80043b000)
 1582: mmap(0x800442000,2285568,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_ANON,-1,0x0) = 34364203008 (0x800442000)
 1582: munmap(0x800245000,4096)			 = 0 (0x0)
 1582: close(3)					 = 0 (0x0)
 1582: mprotect(0x800431000,40960,PROT_READ)	 = 0 (0x0)
 1582: mprotect(0x800431000,40960,PROT_READ|PROT_WRITE) = 0 (0x0)
 1582: mprotect(0x800431000,40960,PROT_READ)	 = 0 (0x0)
 1582: readlink("/etc/malloc.conf",0x7fffffffd5c0,1024) ERR#2 'No such file or directory'
 1582: issetugid()				 = 0 (0x0)
 1582: __sysctl("vm.overcommit",2,0x7fffffffbb54,0x7fffffffbb48,0x0,0) = 0 (0x0)
 1582: mmap(0x0,2097152,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON|MAP_ALIGNED(21),-1,0x0) = 34368126976 (0x800800000)
 1582: mmap(0x0,2097152,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON|MAP_ALIGNED(12),-1,0x0) = 34370224128 (0x800a00000)
 1582: mmap(0x0,4194304,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON|MAP_ALIGNED(21),-1,0x0) = 34372321280 (0x800c00000)
 1582: mprotect(0x202000,4096,PROT_READ)	 = 0 (0x0)
 1582: ioctl(0,TIOCGETA,0x7fffffffe880)		 = 0 (0x0)
 1582: ioctl(0,FIODGNAME,0x7fffffffe890)	 = 0 (0x0)
 1582: fstatat(AT_FDCWD,"/dev/ttyv0",{ mode=crw---x--- ,inode=83,size=0,blksize=4096 },0x0) = 0 (0x0)
 1582: chmod("/dev/ttyv0",020610)		 = 0 (0x0)
 1582: exit(0x0)				
 1582: process exit, rval = 0

-- 
Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
August 13, 1961: Better a wall than a war. And, while the GDR was still existing,
no German troups and bombs have been killed in Yugoslavia, Afghanistan, Afrika...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YTmuVMh0FJ3zTpu8>