View topic - writing operations in QNX 4.25

writing operations in QNX 4.25

For the old QNX2 and QNX4 RTOS

writing operations in QNX 4.25

Postby zaza » Tue Jul 08, 2008 7:47 am

hi,

i'm new to QNX and need some help. how that i'm gonna track writing operations in diskonchip memory?is there any log transactions / statistic / foolproof that i can check through? or is there any specific command that i can use to check it?

as i know "df" command is use to check available memory left.

anyone can help me?

thanks
zaza
zaza
New Member
 
Posts: 3
Joined: Tue Jul 08, 2008 7:16 am

RE: writing operations in QNX 4.25

Postby mario » Tue Jul 08, 2008 12:02 pm

There is fsysinfo. Is that what you are looking for?
mario
QNX Master
 
Posts: 4132
Joined: Sun Sep 01, 2002 1:04 am

Postby zaza » Thu Jul 10, 2008 2:32 am

hi mario,

thanks for your info. i tried to use fsysinfo command but i didn't get the expected result. as i know the syntax is :

fysinfo [-b] [-d secs] [-r] [file]

options :

-b
base the counts from the time fsysinfo starts (useful only with -d)
what does it mean?

-d secs
update the fullscreen display every secs seconds. To exit the display, you press Ctrl -C
what does it mean?

-r
Reset Fsys's internal counters. To use this option, you must be logged in as root
what does it mean?


file
display statistics for the filesystem containing this file (default is the filesystem which contains the current working directory)
what does it mean?

can you explain to me how is the correct way to use fsysinfo command? can you give me some example?

thanks
zaza
zaza
New Member
 
Posts: 3
Joined: Tue Jul 08, 2008 7:16 am

Postby zaza » Thu Jul 10, 2008 6:54 am

hi all,

i try to use chkfsys command by typing :

chkfsys -f /dev/hd0t77

and get below result :

Directories Files Extents Blocks
Available 125152/disk
Total 56/disk 635/disk 691/disk 30152/disk
Maximums 187/dir 3/file 968/file
Average 11/dir 1/file 47/file

384 block(s) recoverable - previously marked in the bitmap :(passed)

hardly can't understand the output.....pls help...

thank you.
zaza
New Member
 
Posts: 3
Joined: Tue Jul 08, 2008 7:16 am

Postby maschoen » Fri Jul 11, 2008 2:12 pm

zaza wrote:hi all,

i try to use chkfsys command by typing :

chkfsys -f /dev/hd0t77

and get below result :

Directories Files Extents Blocks
Available 125152/disk
Total 56/disk 635/disk 691/disk 30152/disk
Maximums 187/dir 3/file 968/file
Average 11/dir 1/file 47/file

384 block(s) recoverable - previously marked in the bitmap :(passed)

hardly can't understand the output.....pls help...

thank you.


Which part of this do you not understand? The statistics or the "recoverable" blocks. If you power down your system with files open for write, the file system can lose track of usable sectors. Chkfsys finds them and makes them available again.
maschoen
QNX Master
 
Posts: 2712
Joined: Wed Jun 25, 2003 5:18 pm


Return to QNX2 and QNX4

Who is online

Users browsing this forum: No registered users and 3 guests