Academy and Foundation unixmens | Your skills, Your future
2.28K subscribers
6.66K photos
1.37K videos
1.23K files
6.02K links
@unixmens_support
@yashar_esm
[email protected]
یک کانال علمی تکنولوژی
فلسفه متن باز-گنو/لینوکس-امنیت - اقتصاد
دیجیتال
Technology-driven -بیزینس های مبتنی بر تکنولوژی
Enterprise open source
ارایه دهنده راهکارهای ارتقای سازمانی - فردی - تیمی
Download Telegram
How To See Characteristics of File Systems on Linux or Unix
by Vivek Gite on October 26, 2015
in AIX, CentOS, Debian / Ubuntu, HP-UX Unix, Linux, RedHat and Friends, Solaris-Unix, UNIX

How do I display the characteristics of file systems such as inodes, blocks, block size, file system name, state, lifetime writes, fsck status and more on Linux or Unix-like operating system?

You can use any one of the following command as per your Linux or Unix variant:
=> tune2fs command
=> lsfs command
=> fstyp command
=> df command

Linux show file system characteristics

Pass the -l option to list the contents of the filesystem superblock, including the current values of the parameters that can be set via tune2fs command. Type the following command:
# tune2fs -l /path/to/device | more
# tune2fs -l /dev/sda2 | grep
# tune2fs -l /dev/cciss/c1d1p1
# tune2fs -l /dev/mapper/data
NAME
tune2fs - adjust tunable filesystem parameters on ext2/ext3/ext4 filesystems

SYNOPSIS
tune2fs [ -l ] [ -c max-mount-counts ] [ -e errors-behavior ] [ -f ] [ -i interval-between-checks ] [ -j ] [ -J journal-options ] [
-m reserved-blocks-percentage ] [ -o [^]mount-options[,...] ] [ -r reserved-blocks-count ] [ -s sparse-super-flag ] [ -u user ] [
-g group ] [ -C mount-count ] [ -E extended-options ] [ -L volume-name ] [ -M last-mounted-directory ] [ -O [^]feature[,...] ] [ -Q
quota-options ] [ -T time-last-checked ] [ -U UUID ] device

DESCRIPTION
tune2fs allows the system administrator to adjust various tunable filesystem parameters on Linux ext2, ext3, or ext4 filesystems.
The current values of these options can be displayed by using the -l option to tune2fs(8) program, or by using the dumpe2fs(8) pro‐
gram.

The device specifier can either be a filename (i.e., /dev/sda1), or a LABEL or UUID specifier: "LABEL=volume-name" or "UUID=uuid".
(i.e., LABEL=home or UUID=e40486c6-84d5-4f2f-b99c-032281799c9d).
How To Find Out If 32 or 64 bit Unix OS Installed On Server
You need to use the following commands to find out information about Unix kernel and CPU architecture:

getconf command : Display the bit mode of the machine hardware and the bit mode of the kernel.

HP-UX example

Type the following command at Terminal application:
$ getconf KERNEL_BITS
AIX example

$ getconf HARDWARE_BITMODE
$ getconf KERNEL_BITMODE
Solaris Unix example

$ isainfo -v
$ isainfo -kv
OS X Unix example

$ getconf LONG_BIT
Linux example

$ getconf LONG_BIT

You must see '64', 'ia64' or 'x86_64' if the operating system is running in 64-bit mode. If '32' or 'i386' is displayed, the OS was compiled for and is running on a 32-bit processor mode.
uname command

You can use uname command too:
$ uname -a
کتاب جرم یابی شبکه
Load Balancing Using
PCC & RouterOS
(microtic)
ششمین مسابقه فتح پرچم، در یک مرحله برگزار خواهد شد و کلیه علاقمندان این حوزه می‌توانند دانش عملی و تجربی خود را در این حوزه، به مرحله آزمایش بگذارند. کلیه شرکت کنندگان باید در قالب تیم‌های حداکثر ۳ نفره در رقابت‌ها شرکت کنند. یکی از اعضای تیم به عنوان سرپرست تیم شناخته شده و کلیه ارتباط‌‌ها در طول دوره ثبت نام و برگزاری مسابقه، با این شخص انجام خواهد گرفت.
نحوه برگزاری
چالش‌‌های مطرح در «مسابقه فتح پرچم» در حوزه‌های زیر مطرح خواهد شد:

نفوذگری در وِب (web hacking)
پنهان نگاری (steganography)
شکست الگوریتم‌ها و پروتکل‌های رمزنگاری (cryptography)
حل چالش‌های مرتبط با شواهد جرایم رایانه‌ای (forensics)
کدنویسی امن (secure coding)
مهندسی معکوس (reverse engineering)
recon

مسابقه به مدت ۴۸ ساعت برگزار خواهد شد و در تمام طول مسابقه تیم فنی برگزاری به سوالات احتمالی شرکت کنندگان پاسخ خواهد داد. جدول رده‌بندی در طول مسابقه از طریق پرتال مسابقه در اختیار شرکت کنندگان قرار دارد. سایر علاقمندان نیز می‌توانند جدول رده‌بندی را از طریق سایت رسمی مسابقات مشاهده نمایند.
نتیجه نهایی مسابقه مقدماتی پس از مشاهده سوابق تیم‌های شرکت کننده و بررسی احتمال تقلب اعلام می‌شود. در مراسم پایانی از سه تیم برتر ایرانی که در بین بیست تیم نخست جدول رده‌بندی حضور داشته باشند اقدردانی خواهد شد. جدول رده‌بندی مسابقه در دو ساعت پایانی مسابقه از دسترس خارج شده و جدول نهایی پس از مراسم اختتامیه رقابت‌ها که در روز چهارشنبه ۲۹بهمن ماه در دسترس قرار خواهد گرفت.


به سه تیم برتر مسابقه نهایی این دوره از مسابقه فتح پرچم، علاوه بر لوح تقدیر و تندیس این دوره از رقابت‌ها، جوایز نقدی زیر اهدا خواهد شد:

تیم اول: مبلغ ۴۰ میلیون ریال
تیم دوم: مبلغ ۳۰ میلیون ریال
تیم سوم: مبلغ ۲۰ میلیون ریال
آموزش های 5 آبان

آموزش گام به گام ساخت کوادکوپتر
https://ehsanavr.com/28703/

استخراج داده ها از سایت های محبوب با Python و Ruby
https://ehsanavr.com/28857/

آموزش لینوکس برای مبتدیان
https://ehsanavr.com/28709/


دوره Linux System Administration
https://ehsanavr.com/28711/

مدیریت Linux برای مبتدیان
https://ehsanavr.com/28710/

آموزش Linux برای تازه کاران همراه با مثال
https://ehsanavr.com/28708/

آموزش طراحی UI/UX برای اپلیکیشن های موبایل با فتوشاپ از ابتدا
https://ehsanavr.com/28707/


آموزش برنامه نویسی C به عنوان اولین زبان
https://ehsanavr.com/28705/

آموزش طراحی Landing Page
https://ehsanavr.com/28704/


آموزش گام به گام PHP و MySQL برای مبتدیان
https://ehsanavr.com/28852/

آموزش عملی Python
https://ehsanavr.com/28853/


راهنمای بازاریابی در Google و Facebook و Twitter
https://ehsanavr.com/28855/

ارتقا رزومه برای یافتن شغل مناسب
https://ehsanavr.com/28856/

افزایش درآمد دوره ها برای مربیان Udemy با WordPress
https://ehsanavr.com/28858/