Структура отдела тестирования




Содержание

 

 

Содержание. 2

UNIX.. 2

СЕТИ.. 5

SQL.. 6

PostgreSQL.. 7

db_agent 7

 

UNIX

Срок обучения: 7 дней

Теоретическая информация: google.com

Проверка знаний: выслать все задания, максимально разобравшись и проверив их самостоятельно, ментору

Изучение: самостоятельное

ЗАДАНИЕ #1

Создать скрипт подсчитывающий количество слов в текстовом файле.

ЗАДАНИЕ #2

Создать 2 скрипта (top_ten_on_cpu and top_ten_on_mem). Эти скрипты должны выводить информацию о 10ти процессах которые используют ресурсы системы (CPU and virtual memory)

Выводимая информация должна иметь следующий формат и заголовок

CPU USER PID COMMAND

VSZ USER PID COMMAND

Команды, которые могут быть использованы для написания задания:

ps, sort, head, top

ЗАДАНИЕ #3

Write process_watch script.

Input parameters: 1) PID or process name; 2) time

Task: During the time specified in cmd-line parameter your script should collect the following information about the process (also specified in cmd-line parameters):

· CPU used

· VSZ used

This script should collect the information in format applicable for creation of MS Excel charts (CSVformat for example).

The output of this exercise should be presented as MS Excel chart.

 

Tools/commands to be used:

ps, grep, sort, find and any other commands you like.

 

ЗАДАНИЕ #4

“SIMPLIEST DB”

1) Text file represents the DB storage.

Text file storage format:

-----------------------

|Name Surrname Phone# |

| |

|Vasya Pupkin 911 |

|Vladimir Lenin 1234 |

-----------------------

2) Shell script (Bourne shell) provides access to the DB (text file).

After the shell script's start the following text appears:

 

Menu:

1. Add record

2. Find record by phone

3. Find record by name

4. List records

5. Exit

 

Your choice: _

 

2.1) After entering "1" the folowing text appears:

------------------------------------------

Please, enter <Name> <Surrname> <Phone#>:

------------------------------------------

when <enter> is pressed the shell returns to 2)

2.2) After entering "2" the folowing text appears:

------------------------------------------

Please, enter <Phone#>:

------------------------------------------

when “911” is entered the shell displays found items:

------------------------------------------

Items found:

Vasya Pupkin 911

Press <enter> to continue

------------------------------------------

when <enter> is pressed the shell returns to 2)

2.3) After entering "3" the folowing text appears:

------------------------------------------

Please, enter: <Name> <Surrname>

------------------------------------------

when Name and/or Surname (may be beginning part of Name) are entered shell displays found items:

------------------------------------------

Items found:

Vasya Pupkin 911

Press <enter> to continue

------------------------------------------

when <enter> is pressed the shell returns to 2)

2.4) After entering "4" the folowing text appears:

------------------------------------------

All records:

Vasya Pupkin 911

Vladimir Lenin 1234

Press <enter> to continue

------------------------------------------

when <enter> is pressed the shell returns to 2)

2.5) When “5” is pressed the shell exits..

P.S. Please, use awk to implement points #2,3

 

 

ЗАДАНИЕ #5

Write a script to check and validate passwords. A trial password will be input to the script as a command line parameter. To be considered acceptable, a password must meet the following minimum qualifications:

· Minimum length of 8 characters

· Must contain at least one alphabetic character

· Must contain at least one numeric character

· Must contain at least one of the following non-alphabetic characters:

@, #, $, %, &, *, +, -, =

 

ЗАДАНИЕ #6

Создать скрипт, выводящий в текстовый файл информацию о сервере.

 

Пример:

 

Модель сервера: HP ProLiant DL385p Gen8

CPU: AMD Opteron(tm) Processor 6376

CORES: 32 core

RAM

total used free shared buffers cached

64374 63852 522 0 187 41554

HDD:

Filesystem Size Used Avail Use% Mounted on

/dev/sda1 16G 3.6G 12G 24% /

tmpfs 32G 211M 32G 1% /dev/shm

/dev/mapper/vgrp-archive 414G 3.1G 411G 1% /ARCHIVE

/dev/mapper/vgrp-sql 1.3T 198G 1.1T 16% /SQL

/dev/sda2 3.0G 77M 2.8G 3% /tmp

/dev/sda5 1008M 226M 732M 24% /var

 

Сетевые устройства:

Broadcom Corporation NetXtreme BCM5719 Gigabit Ethernet PCIe

Intel Corporation 82571EB Gigabit Ethernet Controller

 

IP адрес интерфейса eth0: 192.168.21.15 Mask:255.255.255.0 HWaddr 2C:44:FD:87:13:A0

 

Порт 8080: открыт для подключения (закрыт для подключения)

 

Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name

tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 16308/./finder

 

Порт 25: открыт для подключения (закрыт для подключения)

Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name

tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2420/sendmail

 

Команды для использования:

top, netstat, ifconfig, dmidecode, lspci, cat, grep, free

 

СЕТИ

Срок обучения: 7 дней

Теоретическая информация: https://www.soslan.ru/tcp/ кроме глав 15,16,18-28

 

Проверка знаний: выслать все задания, максимально разобравшись и проверив их самостоятельно, ментору

Изучение: самостоятельное

ЗАДАНИЕ #1

ЗАДАНИЕ #2

 

 

SQL

Срок обучения: 5 дней

Теоретическая информация: https://www.sql-tutorial.ru/

 

Проверка знаний: пройти онлайн тест, результаты предоставить ментору

Изучение: самостоятельное

 

 

Структура отдела тестирования

 

 

PostgreSQL

Db_agent



Поделиться:




Поиск по сайту

©2015-2024 poisk-ru.ru
Все права принадлежать их авторам. Данный сайт не претендует на авторства, а предоставляет бесплатное использование.
Дата создания страницы: 2019-09-26 Нарушение авторских прав и Нарушение персональных данных


Поиск по сайту: