Raised This Month: $12 Target: $400
 3% 

[ANY] Get CPU name


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Rostu
Junior Member
Join Date: Feb 2019
Plugin ID:
7371
Plugin Version:
1.0
Plugin Category:
All
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Find out which processor is installed on your hosting
    Old 11-07-2020 , 20:21   [ANY] Get CPU name
    Reply With Quote #1

    Description
    Plugin show you CPU name on the working server.

    Commands
    sm_cpu - show CPU name [Server console command]

    Request for compile
    MemoryEx - https://github.com/Rostu13/Memory-Extended

    Result
    Attached Files
    File Type: sp Get Plugin or Get Source (b_cpu_name.sp - 471 views - 3.5 KB)
    File Type: smx b_cpu_name.smx (13.4 KB, 423 views)
    Rostu is offline
    Trum
    AlliedModders Donor
    Join Date: Jan 2017
    Old 11-07-2020 , 20:59   Re: [ANY] Get CPU name
    Reply With Quote #2

    Cool
    Trum is offline
    NanoC
    Veteran Member
    Join Date: Jan 2016
    Location: Argentina
    Old 11-07-2020 , 21:32   Re: [ANY] Get CPU name
    Reply With Quote #3

    Nice, amazing, thank you
    __________________
    NanoC is offline
    Send a message via Skype™ to NanoC
    Ja-Forces
    Senior Member
    Join Date: Jul 2009
    Location: Leningrad
    Old 11-08-2020 , 00:55   Re: [ANY] Get CPU name
    Reply With Quote #4

    How about Linux support? It would be great to add information about RAM , HDD and CPU load =^_^=
    __________________

    Last edited by Ja-Forces; 11-08-2020 at 04:27.
    Ja-Forces is offline
    Ilusion9
    Veteran Member
    Join Date: Jun 2018
    Location: Romania
    Old 11-08-2020 , 07:40   Re: [ANY] Get CPU name
    Reply With Quote #5

    Quote:
    Originally Posted by Minfas View Post
    YES? Finally HWID Bans!?
    its showing cpu of the server, not cpu of players.
    __________________
    Ilusion9 is offline
    Trum
    AlliedModders Donor
    Join Date: Jan 2017
    Old 11-08-2020 , 07:50   Re: [ANY] Get CPU name
    Reply With Quote #6

    Quote:
    Originally Posted by Ja-Forces View Post
    How about Linux support? It would be great to add information about RAM , HDD and CPU load =^_^=
    Yeah this would be even cooler ^
    Trum is offline
    asdfxD
    Veteran Member
    Join Date: Apr 2011
    Old 12-07-2020 , 02:18   Re: [ANY] Get CPU name
    Reply With Quote #7

    Works fine on my dedicated server and does not work at my gameservers host company. server crash after using sm_cpu. maybe they block this.
    asdfxD is offline
    asdfxD
    Veteran Member
    Join Date: Apr 2011
    Old 01-03-2021 , 13:55   Re: [ANY] Get CPU name
    Reply With Quote #8

    Possible to check which kernel the server use?
    asdfxD is offline
    DarkDeviL
    SourceMod Moderator
    Join Date: Apr 2012
    Old 01-04-2021 , 11:00   Re: [ANY] Get CPU name
    Reply With Quote #9

    Quote:
    Originally Posted by asdfxD View Post
    Possible to check which kernel the server use?
    Technically, it is possible on Linux systems to do so:

    Since the plugin simply reads the file "/proc/cpuinfo" and process it for the CPU related stuff, it can likewise read e.g. "/proc/version" for information the kernel version on Linux systems, and process the information for what it is looking for there.
    __________________
    Mostly known as "DarkDeviL".

    Dropbox FastDL: Public folder will no longer work after March 15, 2017!
    For more info, see the [SRCDS Thread], or the [HLDS Thread].
    DarkDeviL is offline
    GanHUNTER
    Junior Member
    Join Date: Oct 2019
    Old 01-28-2021 , 18:25   Re: [ANY] Get CPU name
    Reply With Quote #10

    When I add the plugin and restart the server is a server crashes.

    In server's console:
    Quote:
    Wrote minidump to: /home/servers/users/srv69151/CS_GO/csgo/addons/sourcemod/data/dumps/3e61b22e-eb05-4e20-818f8f85-343889d4.dmp
    /home/servers/bin/games/CS_GO.sh: line 58: 20467 Segmentation fault LD_LIBRARY_PATH=".:bin" start-stop-daemon --start --chuid $USER:$GROUP -m --pidfile $PID_FILE --chdir $USER_DIR/$BIN_DIR --exec $USER_DIR/$BIN_DIR/$BIN_NAME -- $GAME_PARAMS
    ID Crashs in website crash.limetech.org
    PNEE-S2CW-27XQ
    F3NB-OR5T-UWKB
    6MBC-NNV2-Q54G
    GanHUNTER is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 01:18.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode