'2021/01/06'에 해당되는 글 4건

  1. 2021.01.06 액정 보호 필름 도착!!
  2. 2021.01.06 warewulf - wwsh 명령어
  3. 2021.01.06 c# named argument
  4. 2021.01.06 scpi, visa, ivi

오랫만에 했더니 한장 날리고

듀얼 스크린이라 두장 쓰고

7장 남음 ㅋㅋ

전면부는 살때 받은 지문방지 필름을 옮겨 붙었는데

거울대용으로 만든 화면을 필름붙이니 확죽어 버렸지만

그래도 신경써서 닦을 면이 하나 줄어서 만족 ㅋㅋ

 

아무튼 보호필름 때문에 듀얼 스크린이랑 본체랑 색이 다르게 보이나 해서 바꾸었는데

색감이 다른건 여전하다 ㅠㅠ

 

듀얼 모니터에서도 두개가 색이 달라서 꽤나 고샹했는데

듀얼 스크린은 동일 패널이라 그래도 어느정도 비슷할줄 알았는데 너무 눈에 띄네 ㅠㅠ

 

Posted by 구차니

댓글을 달아 주세요

openhpc 문서에서 하라는대로만 따라해서

어떤 원리로 어떻게 관리되는지 알지 못해서 구조를 좀 파악해야할 필요가 발생 ㅠㅠ

 

[링크 : https://github.com/nicksan2c/wwsh]

[링크 : https://dokuwiki.wesleyan.edu/doku.php?id=cluster:144]

 

+

> file /usr/bin/ww*
/usr/bin/wwan:        symbolic link to bluetooth
/usr/bin/wwbootstrap: Perl script text executable
/usr/bin/wwconfig:    Perl script text executable
/usr/bin/wwinit:      Bourne-Again shell script, ASCII text executable
/usr/bin/wwlivesync:  Perl script text executable
/usr/bin/wwmkchroot:  Bourne-Again shell script, ASCII text executable
/usr/bin/wwnodescan:  Perl script text executable
/usr/bin/wwsh:        Perl script text executable
/usr/bin/wwuseradd:   POSIX shell script, ASCII text executable
/usr/bin/wwvnfs:      Perl script text executable

 

wwsh list 모음

> wwsh bootstrap list
BOOTSTRAP NAME            SIZE (M)      ARCH
5.3.18-lp152.57-default   58.0          x86_64

> wwsh ipmi list
NAME                AUTO    IPMI_IPADDR    IPMI_NETMASK
================================================================================
openhpc-1           no      UNDEF          UNDEF
openhpc-2           no      UNDEF          UNDEF

> wwsh node list
NAME                GROUPS              IPADDR              HWADDR
================================================================================
openhpc-1           UNDEF               10.0.2.4            08:00:27:4b:df:4f
openhpc-2           UNDEF               10.0.2.5            08:00:27:f9:ca:3f

> wwsh object list
NAME                       _TYPE
======================================================
passwd                     file
group                      file
shadow                     file
munge.key                  file
5.3.18-lp152.57-default    bootstrap
leap15.2                   vnfs
network                    file
openhpc-1                  node
dynamic_hosts              file
openhpc-2                  node

> wwsh provision list
NODE                VNFS            BOOTSTRAP             FILES
================================================================================
openhpc-1           leap15.2        5.3.18-lp152.57-de... dynamic_hosts,grou...
openhpc-2           leap15.2        5.3.18-lp152.57-de... dynamic_hosts,grou...

> wwsh vnfs list
VNFS NAME            SIZE (M)   ARCH       CHROOT LOCATION
leap15.2             480.1      x86_64     /opt/ohpc/admin/images/leap15.2

 

도움말 모음

> wwsh help
Warewulf command line shell interface

Welcome to the Warewulf shell interface. This application allows you
to interact with the Warewulf backend database and modules via a
single interface.

  bootstrap        Manage your bootstrap images
  dhcp             Manage DHCP service and configuration
  events           Control how events are handled
  exit             Exit/leave the Warewulf shell
  file             Manage files within the Warewulf data store
  ipmi             Node IPMI configuration
  node             Node manipulation commands
  object           Generically manipulate all Warewulf data store entries
  output           Set the output verbosity level
  provision        Node provision manipulation commands
  pxe              Manage PXE configuration
  quit             Exit/leave the Warewulf shell
  ssh              Spawn parallel ssh connections to nodes.
  vnfs             Manage your VNFS images
USAGE:
     bootstrap <command> [options] [targets]

SUMMARY:
     This interface allows you to manage your bootstrap images within the Warewulf
     data store.

COMMANDS:

         import          Import a bootstrap image into Warewulf
         export          Export a bootstrap image to the local file system
         delete          Delete a bootstrap image from Warewulf
         list            Show all of the currently imported bootstrap images
         set             Set bootstrap attributes
         (re)build       Build (or rebuild) the tftp bootable image(s) on this host
         help            Show usage information
USAGE:
     dhcp <command>

SUMMARY:
        The DHCP command configures/reconfigures the DHCP service.

COMMANDS:

         update          Update the DHCP configuration, and restart the service
         restart         Restart the DHCP service
         help            Show usage information
USAGE:
     events [command]

SUMMARY:
     Control how/if events are handled.

COMMANDS:

     enable          Enable all events for this shell (default)
     disable         Disable the event handler
     help            Show usage information
USAGE:
     file <command> [options] [targets]

SUMMARY:
     The file command is used for manipulating file objects.  It allows you to
     import, export, create, and modify files within the Warewulf data store.
     File objects may be used to supply files to nodes at provision time,
     dynamically create files or scripts based on Warewulf data and more.

COMMANDS:
     import             Import a file into a file object
     export             Export file object(s)
     edit               Edit the file in the data store directly
     new                Create a new file in the data store
     set                Set file attributes/metadata
     show               Show the contents of a file
     list               List a summary of imported file(s)
     print              Print all file attributes
     (re)sync           Sync the data of a file object with its source(s)
     delete             Remove a node configuration from the data store
     help               Show usage information
USAGE:
     ipmi <command> [options] [targets]

SUMMARY:
    The ipmi command is used for setting node ipmi configuration attributes.

COMMANDS:

         set             Modify an existing node configuration
         list            List a summary of the node(s) ipmi configuration
         print           Print the full node(s) ipmi configuration
         poweron         Power on the list of nodes
         poweroff        Power off the list of nodes
         powercycle      Power cycle the list of nodes
         powerstatus     Print the power status of the nodes
         ident           Set chassis identify light to on for the nodes
         noident         Set chassis identify light to off for the nodes
         printsel        Print system event log for the nodes
         clearsel        Clear system event log for the nodes
         printsdr        Print sensor data records for the nodes
         console         Start a serial-over-lan console session.
                         NOTE: Requires that a serial console be defined
                         in kernel arguments, i.e. console=ttyS0,57600

         forcepxe        Force next boot from PXE
         forcedisk       Force next boot from first Hard Drive
         forcecdrom      Force next boot from CD-ROM
         forcebios       Force next boot into BIOS

         help            Show usage information
USAGE:
     node <command> [options] [targets]

SUMMARY:
     The node command is used for viewing and manipulating node objects.

COMMANDS:
         new             Create a new node configuration
         set             Modify an existing node configuration
         list            List a summary of nodes
         print           Print the node configuration
         delete          Remove a node configuration from the data store
         clone           Clone a node configuration to another node
         help            Show usage information
USAGE:
     object <command> [options] [targets]

SUMMARY:
     The object command provides an interface for generically manipulating all
     object types within the Warewulf data store.

COMMANDS:
     modify          Add, delete, and/or set object member variables
     print           Display object(s) and their members
     delete          Completely remove object(s) from the data store
     dump            Recursively dump objects in internal format
     jsondump        Recursively dump objects in json format
     canonicalize    Check and update objects to current standard format
     help            Show usage information
USAGE:
     output [command]

SUMMARY:
    This command sets the desired command output verbosity level.

COMMANDS:

         normal          The standard (and default) output level intended for
                         normal usage
         quiet           Only print warning, error, or critical messages.
         verbose         Increase verbosity over the normal output level
         debug           Show debugging messages (very verbose)
USAGE:
     provision <command> [options] [targets]

SUMMARY:
    The provision command is used for setting node provisioning attributes.

COMMANDS:

         set             Modify an existing node configuration
         list            List a summary of the node(s) provision configuration
         print           Print the full node(s) provision configuration
         help            Show usage information
USAGE:
     pxe <command> [options] [targets]

SUMMARY:
        Manage PXE configuration.

COMMANDS:

         update          Update the PXE configuration
         help            Show usage information
USAGE:
     ssh [nodes/targets] [command]

SUMMARY:
     Run ssh connections to node(s) in parallel by either node names, group
     or any other known lookup.
USAGE:
     vnfs <command> [options] [targets]

SUMMARY:
     This interface allows you to manage your VNFS images within the Warewulf
     data store.

COMMANDS:

         import          Import a VNFS image into Warewulf
         export          Export a VNFS image to the local file system
         delete          Delete a VNFS image from Warewulf
         list            Show all of the currently imported VNFS images
         set             Set any VNFS attributes
         help            Show usage information

 

 

 

'프로그램 사용 > openHPC' 카테고리의 다른 글

MPI/PMI  (0) 2021.01.07
warewulf - wwsh 명령어  (0) 2021.01.06
hpl/linpack openmpi slurm  (0) 2021.01.05
openSUSE에 getvnfs extracting failed ㅠㅠ  (0) 2021.01.05
openSUSE에 openHPC 설치하기 part 1  (0) 2021.01.04
slurm, pbs pro, torque/maui  (0) 2021.01.04
Posted by 구차니

댓글을 달아 주세요

Programming/c# & winform2021. 1. 6. 12:31

자동 번역인진 모르겠지만 "명명된 인자" 라는 명칭으로 메소드 호출이나

객체 생성시 변수 순서와 상관없이 인자명칭을 직접 지정해서 호출 할 수 있는 문법

 

아래의 코드에서 Main() 안의 moto.Drive() 를 보면

원래 Drive() 메소드는 int miles, int speed로 선언되어 있으나

moto.Drive(speed: 60, miles: 170) 으로

선언된 인자와 다른 순서로 입력을 해주는 것을 볼 수 있다.

 

using System;

class TestMotorcycle : Motorcycle
{
   public override int Drive(int miles, int speed)
   {
      return (int) Math.Round( ((double)miles) / speed, 0);
   }

   public override double GetTopSpeed()
   {
      return 108.4;
   }

   static void Main()
   {

      TestMotorcycle moto = new TestMotorcycle();
      moto.StartEngine();
      moto.AddGas(15);
      var travelTime = moto.Drive(speed: 60, miles: 170);
      Console.WriteLine("Travel time: approx. {0} hours", travelTime);
   }
}
// The example displays the following output:
//      Travel time: approx. 3 hours

 

[링크 : https://docs.microsoft.com/en-us/dotnet/csharp/methods]

[링크 : https://docs.microsoft.com/ko-kr/dotnet/csharp/methods]

'Programming > c# & winform' 카테고리의 다른 글

c# named argument  (0) 2021.01.06
아.. 이놈의 인코딩..  (0) 2020.12.03
c# vertical tab  (0) 2020.11.26
c# rest API client  (0) 2020.11.25
c# telnet, ssh client  (0) 2020.11.24
c# winform double buffer  (2) 2020.11.19
Posted by 구차니

댓글을 달아 주세요

 

[링크 : http://www.cat-solutions.nl/index.php/en/training-en/visa-scpi-sicl-io-suite-library-usage-en]

[링크 : https://www.rohde-schwarz.com/tr/driver-pages/remote-control/instruments-drivers-vs.-plain-scpi-commands_231246.html]

'하드웨어 > instrument device' 카테고리의 다른 글

scpi, visa, ivi  (0) 2021.01.06
Posted by 구차니

댓글을 달아 주세요