Skip to content

This is a Duda web service that return the kernel version of the server.

Notifications You must be signed in to change notification settings

swpd/kernel_version

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

kernel version : a Duda web service

This is a web service that return the kernel version of server based on Duda web service framework.

Introduction

This web service(kernel_version) reads information from file /proc/version and prints the required version information.

Installation

clone this repository:

git clone https://github.com/swpd/kernel_version.git

Running web service

use DudaC to set up this web service, it makes running web service an easy task. if you haven't set up DudaC, check out this.

change to DudaC's directory:

cd dudac/

run the web service:

./dudac -w /path/to/kernel_version/

for example, if you have kernel_version repo downloaded in your home directory, run the following command:

./dudac -w ~/kernel_version/

yes, that's it. if no errors occur our web service shall be up and running.

Serving requests

use your favorite client to visit the following URL to retrieve the version information of server:

https://localhost:2001/kernel_version/

About

This is a Duda web service that return the kernel version of the server.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages