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
یکی از ویژگی های گنو/لینوکس که همیشه دوستش دارم بروز رسانی های اون هست که نسخه به نسخه تفاوت های زیادی داره برای نمونه ما دستور #dmesg از بسته : util-linux را مورد بررسی قرار میدیم
ورژن : util-linux-2.12a-24.el4
#DMESG(8) DMESG(8)

NAME
#dmesg - print or control the kernel ring buffer

SYNOPSIS
dmesg [ -c ] [ -n level ] [ -s bufsize ]

DESCRIPTION
dmesg is used to examine or control the kernel ring buffer.

The program helps users to print out their bootup messages. Instead of copying the messages by
hand, the user need only:
dmesg > boot.iss.onessages
and mail the boot.iss.onessages file to whoever can debug their problem.

OPTIONS
-c Clear the ring buffer contents after printing.

-sbufsize
Use a buffer of size bufsize to query the kernel ring buffer. This is 16392 by default.
(The default kernel syslog buffer size was 4096 at first, 8192 since 1.3.54, 16384 since
2.1.113.) If you have set the kernel buffer to be larger than the default then this
option can be used to view the entire buffer.

-nlevel
Set the level at which logging of messages is done to the console. For example, -n 1
prevents all messages, expect panic messages, from appearing on the console. All levels
of messages are still written to /proc/kmsg, so syslogd(8) can still be used to control
exactly where kernel messages appear. When the -n option is used, dmesg will not print
or clear the kernel ring buffer.

When both options are used, only the last option on the command line will have an effect.

SEE ALSO
syslogd(8)

AUTHOR
Theodore Ts’o ([email protected])

DMESG(8)
(END)
—------------------------------------------------------------------------------------------------------------
ورژن :
2.29.2-4
DMESG(1) User Commands DMESG(1)

NAME
dmesg - print or control the kernel ring buffer

SYNOPSIS
dmesg [options]

dmesg —clear
dmesg —read-clear [options]
dmesg —console-level level
dmesg —console-on
dmesg —console-off

DESCRIPTION
dmesg is used to examine or control the kernel ring buffer.

The default action is to display all messages from the kernel ring buffer.

OPTIONS
The —clear, —read-clear, —console-on, —console-off, and —console-level options are mutually
exclusive.

-C, —clear
Clear the ring buffer.

-c, —read-clear
Clear the ring buffer after first printing its contents.

-D, —console-off
Disable the printing of messages to the console.

-d, —show-delta
Display the timestamp and the time delta spent between messages. If used together with
-E, —console-on
Enable printing messages to the console.

-e, —reltime
Display the local time and the delta in human-readable format. Be aware that conversion to the
local time could be inaccurate (see -T for more details).

-F, —file file
Read the messages from the given file.

-f, —facility list
Restrict output to the given (comma-separated) list of facilities. For example:

dmesg —facility=daemon

will print messages from system daemons only. For all supported facilities see the —help out‐
put.

-H, —human
Enable human-readable output. See also —color, —reltime and —nopager.

-k, —kernel
Print kernel messages.
-L, —color[=when]
Colorize the output. The optional argument when can be auto, never or always. If the when
argument is omitted, it defaults to auto. The colors can be disabled; for the current built-in
default see the —help output. See also the COLORS section below.

-l, —level list
Restrict output to the given (comma-separated) list of levels. For example:

dmesg —level=err,warn
-l, —level list
Restrict output to the given (comma-separated) list of levels. For example:

dmesg —level=err,warn

will print error and warning messages only. For all supported levels see the —help output.

-n, —console-level level
Set the level at which printing of messages is done to the console. The level is a level num‐
ber or abbreviation of the level name. For all supported levels see the —help output.

For example, -n 1 or -n alert prevents all messages, except emergency (panic) messages, from
appearing on the console. All levels of messages are still written to /proc/kmsg, so sys‐
logd(8) can still be used to control exactly where kernel messages appear. When the -n option
is used, dmesg will not print or clear the kernel ring buffer.

-P, —nopager
Do not pipe output into a pager. A pager is enabled by default for —human output.

-r, —raw
Print the raw message buffer, i.e. do not strip the log-level prefixes.

Note that the real raw format depends on the method how dmesg(1) reads kernel messages. The
/dev/kmsg device uses a different format than syslog(2). For backward compatibility, dmesg(1)
returns data always in the syslog(2) format. It is possible to read the real raw data from
/dev/kmsg by, for example, the command 'dd if=/dev/kmsg iflag=nonblock'.

-S, —syslog
Force dmesg to use the syslog(2) kernel interface to read kernel messages. The default is to
use /dev/kmsg rather than syslog(2) since kernel 3.5.0.
-s, —buffer-size size
Use a buffer of size to query the kernel ring buffer. This is 16392 by default. (The default
kernel syslog buffer size was 4096 at first, 8192 since 1.3.54, 16384 since 2.1.113.) If you
have set the kernel buffer to be larger than the default, then this option can be used to view
the entire buffer.

-T, —ctime
Print human-readable timestamps.

Be aware that the timestamp could be inaccurate! The time source used for the logs is not
updated after system SUSPEND/RESUME.

-t, —notime
Do not print kernel's timestamps.

—time-format format
Print timestamps using the given format, which can be ctime, reltime, delta or iso. The first
three formats are aliases of the time-format-specific options. The iso format is a dmesg
implementation of the ISO-8601 timestamp format. The purpose of this format is to make the
comparing of timestamps between two systems, and any other parsing, easy. The definition of
the iso timestamp is: YYYY-MM-DD<T>HH:MM:SS,<microseconds><-+><timezone offset from UTC>.

The iso format has the same issue as ctime: the time may be inaccurate when a system is sus‐
pended and resumed.

-u, —userspace
Print userspace messages.

-w, —follow
Wait for new messages. This feature is supported only on systems with a readable /dev/kmsg
(since kernel 3.5.0).
-x, —decode
Decode facility and level (priority) numbers to human-readable prefixes.

-V, —version
Display version information and exit.
-h, —help
Display help text and exit.

COLORS
Implicit coloring can be disabled by an empty file /etc/terminal-colors.d/dmesg.disable. See termi‐
nal-colors.d(5) for more details about colorization configuration.

The logical color names supported by dmesg are:

subsys The message sub-system prefix (e.g. "ACPI:").

time The message timestamp.

timebreak
The message timestamp in short ctime format in —reltime or —human output.

alert The text of the message with the alert log priority.

crit The text of the message with the critical log priority.

err The text of the message with the error log priority.

warn The text of the message with the warning log priority.

segfault
The text of the message that inform about segmentation fault.

SEE ALSO
terminal-colors.d(5), syslogd(8)

AUTHORS
Karel Zak ⟨[email protected]

dmesg was originally written by Theodore Ts'o ⟨[email protected]

AVAILABILITY
The dmesg command is part of the util-linux package and is available from Linux Kernel Archive ⟨ftp://
ftp.kernel.org/pub/linux/utils/util-linux/⟩.

util-linux July 2012 DMESG(1)
اداره داده كاوي و هوش تجاري
بانك اقتصاد نوين

از كارشناسان متخصص در حوزه هاي ذيل دعوت به همكاري مينمايد:
١. تسلط به نرم افزارهاي پايگاه داده ها نظير sql server و يا oracle
٢. تسلط به تكنيك ها و نرم افزارهاي تحليلي آماري و داده كاوي
٣. تسلط به مفاهيم و ابزارهاي هوش تجاري نظير SSAS و يا oracle oplap engin
٤. تسلط به مفاهيم و مدلسازي انباره داده ها
٥. تسلط به مفاهيم سيستم هاي اطلاعاتي و ابزارهاي توسعه آن در بستر وب

ايميل جهت دريافت رزومه:
[email protected]
#jobs #oracle @unixmens
آگهی #‌استخدام در شرکت هوش تجاری نفیس 📊📉📈

شرکت هوش تجاری فکر پرداز نفیس، ارائه کننده خدمات #هوش_تجاری ، جهت تکمیل کادر خود در پروژه‌های هوش تجاری، در محیطی پویا از افراد متخصص و علاقمند دعوت به همکاری می‌کند.
این شرکت برای ردیف‌ شغلی زیر استخدام می‌کند:

طراح و توسعه‌دهنده انبارداده (ابزار ODI)

💻تخصص‌های مورد نیاز:
🎯مسلط به ابزار ODI
🎯مسلط به پایگاه داده Oracle
🎯مسلط به مفاهیم انبارداده
🎯مسلط به مفاهیم ETL
🎯مسلط به معماری داده snowflake و star
آشنا به مباحث Oracle DB Administration

لطفا در صورت تمایل رزومه خود را به ایمیل
[email protected]
ارسال فرمایید.

#jobs #oracle @unixmens
شرکت رایتل جهت جذب کارشناس طراحی و مهندسی در معاونت فناوری اطلاعات با مشخصات زیر اقدام می نماید:

مهارت های تخصصی:
• تسلط در زمینه مدیریت پایگاه داده اوراکل و طراحی و پیاده سازی راهکارهای Availability
• تسلط در زمینه مدیریت سیتم عامل لینوکس
• تجربه در زمینه طراحی راهکارهای ذخیره سازی
• آشنایی کافی با راهکارهای طراحی پلتفرم ها جهت تحلیل داده حجیم
مهارت های عمومی:
• تسلط خوب به زبان انگلیسی (مکالمه و نوشتاری)
• مهارت در زمینه تهیه Requirement و مستندسازی

لطفا رزومه مرتبط را به آدرس ایمیل [email protected] ارسال فرمایید
#jobs #linux #oracle @unixmens
سلام به همه دوستان
یک شرکت معتبر در حوزه فناوری اطلاعات ، جهت تکمیل تیم دیتابیس خود ، از افراد علاقه مند جهت ورود به حوزه اوراکل دعوت به عمل می آورد.

تخصص مورد نیاز

آشنایی با زبان SQL و Pl/SQL

آشنایی با سیستم عامل لینوکس

شرایط اختصاصی

نیروهای مورد نظر ، باید آقا باشند .

توانایی کار به صورت تمام وقت و تعهد خدمت

توانایی کار تیمی و انفرادی و خود آموز

شرکت در دوره آموزشی رایگان و کسب تاییده آموزشی


ارسال رزومه به آدرس ایمیل : [email protected]
#jobs #linux #oracle @unixmens
Forwarded from Philosophy Cafe ♨️ (Omid)
This media is not supported in your browser
VIEW IN TELEGRAM
☝️☝️این ویدئو بخشی از کلاس درس دکتر اجتهادی در دانشگاه صنعتی شریف است. که بعد از پرداختن به بحث نسبیت خاص انیشتین مختصری در خصوص انرژی هسته ای صحبت می کنند. اطلاعات کلی که ارائه می کنند قابل تامل است.
رادوپ چیست ؟ #radoop @unixmens
همانطور که می دانید RapidMiner نرم افزاری قدرتمند جهت تحلیل و داده کاوی است. با توجه به گسترش نیاز تحلیلگران به تحلیل بزرگ داده ها، یکی از انواع این نرم افزار، نسخه radoop آن می‌باشد. این نسخه دارای محیطی گرافیکی و راحت برای تحلیل داده‌های کلان بر روی هدوپ می‌باشد. Radoop از ترکیب RapidMiner و هدوپ بوجود آمده البته وجود Hive در این افزونه به نظر الزامیست نه به این معنی که بدون Hive کار کردن غیر ممکن است بلکه به دلیل که Hive قدرتمند، انعطاف پذیر و آسان برای کار کردن است
مقاله تحلیلی برای کاربرد openstack و چرایی استفاده نکردن از آن در برخی پروژه ها
https://www.packet.net/blog/how-we-failed-at-openstack/
#openstack @unixmens
مقاله #ASR در سرور #hp

مقدمه :
قابلیت ASR در سرور های HP یکی از ابزارهای مفید جهت حل مشکل crash در سیستم عامل های مختلف میباشد . در این مستند سعی شده است تا در مورد ASR مطالبی بیان شود.
مقدمه

در واقعASR قابلیتی است که به صورت دائم یک سیستم را از جنبه‌های مختلف مورد ارزیابی قرار می‌دهد تا در صورت بروز مشکل و خطا، جهت تشخیص و رفع آن به صورت خودکار اقدام نماید.این ویژگی توسط شرکت hp، در سرورهای تولید خود به کار گرفته شده است تا در صورت بروز مشکل در عمل‌کرد سخت‌افزار و سیستم عامل، سیستم را به یک وضعیت مناسب برگرداند.


2 معرفی ASR

تکنولوژی ASR یا Automatic System Recovery این امکان را به سیستم می دهد تا در صورت بروز مشکلات حاد در سیستم عامل نظیر (Blue Screen of death ، ABEND (abnormal end و یاKernel panic سیستم را restart نماید، عمل repair خودکار memory را انجام دهد و یا در صورت fail شدن یک process سیستم را recover کند. در هنگام load شدن سیستم عامل، درایور خاصی تحت عنوان System Management Driver یا همان Health Driver همراه با آن load می شود. هنگامی که سیستم عامل بدون مشکل در حال کار کردن است timer خاصی به نام ASR timer ، که زمان پیش فرض آن10 دقیقه است، به طور مداوم توسط این driverدر فاصله زمانی مشخصی restart می شود. در صورتی که سیستم عامل به درستی عمل نکند و یا به شکلی قفل نماید، این timer پس از اتمام دوره چک کردن، expire شده و سیستم restart می شود. همزمان با restart شدن سیستم یک پیغام log در قسمت login نرم افزار Insight Manager در ویندوز و همچنین در IML در لینوکس درج خواهد شد. به طور پیش‌فرض قابلیتASR در سرور های hp فعال است و می توان آنرا از طریق نرم افزار Insight Manager در ویندوز و یا(RBSU (ROM-Based Setup Utility در BIOS غیر فعال نمود و زمان پیش‌فرض مربوط به Timer را تغییر داد.


3 تنظیم ASR در منوی RBSU(Rom-Based Setup Utility)

تنظیم ASR علاوه بر نرم‌افزارInsight Manager از طریق BIOS سیستم نیز قابل انجام می باشد.برای این کار بایستی در زمان بوت شدن سرور از طریق کلید F9 وارد BIOS سرور شویم.تنظیمات ASR درگزینه Server Availability در منویRBSU در دسترس است.
تصویر 1: صفحه ابتدای لود شدن سرورهای hp
تصویر 2:منوی RBSU
تصویر 3: تنظیمات مربوط به ASR
در واقعServer Avalability شامل دو گزینه برای تنظیم ASR می باشد:

در واقع ASR Status :جهت فعال و غیر فعال کردن ویژگیASR.

در واقع ASR Timeout: تنظیم زمان تایمر ASR که به صورت پیش‌فرض 10 دقیقه می باشد.

زمانی که سیستم عامل در وضعیت مناسبی قرار داشته باشد،Health Driver به صورت پیوسته تایمر ASR را ریست می‌کند تا از صفر شدن تایمر جلوگیری کند. در صورتی که سیستم عامل نتواند جواب دهد و به دلایلی که بعداً ذکر می شود سیستم عامل قفل کرده باشد این تایمر بعد از گذشت زمان تعیین شده صفر شده و Health Driver فرض را بر قفل کردن سیستم عامل گرفته و سرور را reboot خواهد نمود.در اغلب مواردی که ASR عمل می کند یک Log به IML سیستم نیز ارسال می شود.


4 دلایل قفل شدن سیستم عامل

خطای یکی از اجزای سخت افزاری سیستم

نرم افزار سطح بالا یا Process ای که تمام منابعCPU سیستم را اشغال کرده و اجازه نمی‌دهد تا CPU به Health Driver تخصیص داده شود تا بتواند تایمر ASR را ریست نماید.

نرم‌افزار یا Process ای که تمام منابع Swape,RAM سیستم را اشغال کرده واجازه تخصیص Memory به Health Driver را نمی دهد.

خرابی یکی از اجرای سیستم عامل، مانند خرابی فایل سیستم یا درایور یکی از اجزا

و هر اتفاقی که باعث ایجاد وقفه در عمل‌کرد سیستم عامل شود.


5 عیب یابی جهت رفع و تشخیص نوع خطا

همان‌طور که در قسمت قبل هم توضیح داده شد ASR ممکن است به دلایل نرم افزاری و یا سخت افزاری اتفاق بیافتد.

مراحل عیب یابی جهت رفع و تشخیص نوع خطای اتفاق افتاده(سخت‌افزار – نرم‌افزار).

به موارد زیردر مواقع اتفاق افتادن ASR توجه نماید:

آیاASR بعد از اضافه کردن یک سخت‌افزار جدید اتفاق افتاده هست؟

آیاASR بعد از نصب Patch جدید سیستم عامل،درایور یا Firmware جدید اتفاق افتاده است؟

در صورت امکان سخت‌افزار جدید نصب شده،درایور جدید و یا Patch جدید سیستم عامل را حذف کنید.

در صورت امکان iLO , Firmware , BIOS سرور را بروزرسانی نمایید.

در واقع ( SPP (Support Pack for Proliant ) ,PSP (Proliant Support Pack را بسته به مدل سرور بروزرسانی نمایید.

در واقع NVRAM سرور را از طریق BRSU (همان BIOS سرور) پاک نمایید.

عیب یابی و Log ها:

اجرا کردن نرم‌افزار Insight Diagnostics از CD همراه سرور برای سرورهای G7 و پایین تر.

در سرورهای G8 , G9 از iLO سرور استفاده نمایید یا Health System را از iLO فعال نمایید.

در واقع IML ،Integrated Management Log را از طریق رابط کاربری iLO یا Insight Diagnostics چک نمایید.

برای سرورهای ویندوزی می‌توان از نرم‌افزار HPS Report جهت گزارش گیری از تمام قسمت‌های سیستم استفاده نمود.

برای سرورهای لینوکسی از ابزار Cfg2html برای گزارش گیری کامل استفاده می شود.