CrazyEngineers
  • Linux problems: urgent

    Updated: Oct 25, 2024
    Views: 877
    Q} If the size of the file is 2050 bytes then what disk space will it occupy?

    Q} what is a system process?

    Q} How can we control the execution of a process?
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • Aashish Joshi

    MemberSep 17, 2009

    A1) This will depend on the file system. Taking ext2/ext3 as an example, the default cluster size is 4096 bytes. So a file of 2050 bytes should take up 4kb of space. the default cluster size can be changed at the time of creation (of the file system).
    Are you sure? This action cannot be undone.
    Cancel
  • Prasad Ajinkya

    MemberSep 17, 2009

    Try using a "ps -ax" command at your prompt and check the list of processes.

    To kill a process try "kill -9 <process_id>"
    Are you sure? This action cannot be undone.
    Cancel
  • pushpen mahawar

    MemberSep 20, 2009

    A2) every process has a unique process id which is known as PID.
    two types of process -
    1. foreground process
    2. background process

    to see the the currently running process use folowing command- and than press enter ..type
    ''top'' than enter.

    if u want remove any process type folowing command in the prompt -
    kill <process id>

    and to remove all processes
    ''kill all'' than enter
    Are you sure? This action cannot be undone.
    Cancel
  • sarveshgupta

    MemberSep 21, 2009

    Thank you all
    Are you sure? This action cannot be undone.
    Cancel
  • komputergeek

    MemberSep 29, 2009

    you can use top command to view processes.It will show u all details and you can easily control processes using top.htop is even better than top.But you will have to install it separately.
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register